Grid
One to twelve equal-width columns with role-based row and column gaps.@gemologic/sheen · layoutPlayground
<Grid columns={2} align="stretch" columns={1} gap="md"><Input label="First name" /><Input label="Last name" /></Grid>Variant matrix
Grid composition
columns: 1
columns: 2
columns: 3
columns: 4
columns: 5
columns: 6
columns: 7
columns: 8
columns: 9
columns: 10
columns: 11
columns: 12
gap: none
gap: xs
gap: sm
gap: md
gap: lg
gap: xl
align: start
align: center
align: end
align: stretch
Anatomy
- Package
@gemologic/sheen- Source
packages/ui/src/layout/Layout.tsx- Tokens
--sheen-space-block-md--sheen-space-inline-md
Accessibility
Role: presentation layoutKeyboard: No component-owned keysDo
- Preserve logical DOM order and use token spacing.
Do not
- Do not use layout wrappers to invent inaccessible keyboard order.
Generated props
| Name | Type | Default | Description |
|---|---|---|---|
columns | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 1 | Equal-width tracks with shrinkable minmax sizing. |
gap | Spacing | md | Role-based spacing that follows the active density. |
align | Alignment | stretch | Cross-axis alignment without changing DOM or keyboard order. |