Skip to content

Grid Background ​

GridBackground reads the parent grid geometry and draws matching lines behind its GridItem children. Use its props to set the line color and width.

Try it: Change the line color or width, then move an item. The background follows the current columns, gaps, and row height.

Live demo

Released under the MIT License.