Grid
Responsive 12‑column layout primitive with span-based children. Each
GridItem declares how many columns it consumes; container controls total columns and gaps. Supports responsive values for columns and span using breakpoint-aware props.Examples
(5)Properties
(22)Basic
Basic 12-column grid with equal width items.
Gaps
Row and column gutters come from the container:
gap sets both, rowGap and columnGap override one each. Items never carry their own padding or margin.Nesting
Nested grids demonstrating composition inside a grid item.
Responsive
Responsive columns and item spans using breakpoint-aware props.
Spans
Demonstrates varying column spans within a 12-column grid.
Scan to open this page on your phonereact-ui-library.com/components/Grid
</>
react-ui-library
100+ accessible, themeable components that work seamlessly across iOS, Android, and Web.
A Platform Blocks product.
Quick Links
Resources