- Implementation
- Grid Container Props
- Grid Item Props
- Flex Item Props
- Responsive Grid Props
Common Examples
Creating CSS Grid layouts
The Anvil2Grid component enables building complex layouts using CSS Grid properties. A grid is ultimately an HTML div element with display: grid applied. Use the props listed below to apply other CSS Grid properties to the container.Note that a Grid is always a container, but can also be used as a grid item by wrapping it in another Grid, or even as a flex item if it is a child of a Flex or other element with display: flex.Using Responsive prop
Grid, like many of our components, havesm, md, lg, xl, and xxl that can be used to control component’s layout properties.Resize window to mobile size to see it in action.