Grid
Native Solid 2 fork. Original documentation and designs © WorkOS; historical posts retain their original context.
API Reference
This component is based on the div element and supports common margin props.
Use these props to create grid layouts.
The following props are shared between Box, Flex, Grid, Container and Section components. Read more about layout components in Layout.
Examples
Responsive
All props marked Responsive, such as columns and rows accept a breakpoint object. For example, the following grid starts with 1 column, and uses 2 columns from the medium breakpoint.