A component for creating grid layouts.
Use the columns prop to set the number of columns in a grid. You can change this across breakpoints using the object syntax.
The columns prop creates equally sized columns. If you need to fine-tune the column sizes, use an inline style prop.
Use the flow prop to control how the auto-placed items flow in the grid. You can change this across breakpoints using the object syntax.
Use the align prop to set the vertical alignment of the grid items. Use the justify prop to control how space is distributed between items horizontally.
You can change the values across breakpoints using the object syntax.
We do not plan to implement props for align-self and justify-self. UI code tends to be easier to understand and debug when parent components control the layout. Nesting Flex elements is the way to go when you need different alignment within one container.
Use the gap prop to set spacing between grid items. You can change the gap across breakpoints using the object syntax.
Used 142 times across 2 packages
align
gap
justify
position
103 files
Show 93 more files