ui.grid
Grid
Columns by count, by breakpoint or by minimum width — the grid fills the rows and keeps the gutters even.A fixed number of columns
cols=3: six items fill two rows of three.As many columns as fit
min_col="12rem" keeps every card at least 12rem wide and fits as many per row as the width allows.Columns per breakpoint
One column on a phone, two from sm, four from lg.A dashboard with a wide panel
A column span is plain Tailwind on the child.Weekly sales
| Category | Value |
|---|---|
| Mon | 42 |
| Tue | 58 |
| Wed | 51 |
| Thu | 73 |
| Fri | 66 |
GoalsQuarterly revenueNew customersSupport backlog
Gutter sizes
gap="xs" Q1 Q2 Q3 Q4
gap="md" Q1 Q2 Q3 Q4
gap="xl" Q1 Q2 Q3 Q4