Grid
A responsive CSS Grid layout system with 12-column support, similar to Material UI Grid.
Basic Grid
Use Grid as a container and Col for columns.
span=4
span=4
span=4
Variable Width Columns
span=8
span=4
span=6
span=6
Responsive Grid
Use responsive objects to change column spans at different breakpoints. Try resizing your browser to see the columns reflow!
12 → 6 → 4
12 → 6 → 4
12 → 6 → 4
12 → 6 → 4
12 → 6 → 4
12 → 6 → 4
Gap & Spacing
Use gap, rowGap, and columnGap props.
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Row Shorthand
Row is a shorthand for Grid columns=12.
3
6
3
Multiple Rows
Stack multiple Row components to create distinct rows with different column layouts.
Row 1 - span=6
Row 1 - span=6
Row 2 - span=4
Row 2 - span=4
Row 2 - span=4
Row 3 - span=3
Row 3 - span=6
Row 3 - span=3
Alignment
Control alignment with align and justify props.
Short
Tall content
Medium
Props
Grid Props
columns- Number of columns (1-12) or responsive objectgap- Gap between items (number or string)rowGap- Row gapcolumnGap- Column gapalign- 'start' | 'center' | 'end' | 'stretch' | 'baseline'justify- 'start' | 'center' | 'end' | 'stretch'
Col Props
span- Column span (1-12) or responsive objectstart- Grid column start positionend- Grid column end position