sheengemologic ui
All components

Grid

One to twelve equal-width columns with role-based row and column gaps.@gemologic/sheen · layout

Playground

<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 keys

Do

  • Preserve logical DOM order and use token spacing.

Do not

  • Do not use layout wrappers to invent inaccessible keyboard order.

Generated props

NameTypeDefaultDescription
columns1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 121Equal-width tracks with shrinkable minmax sizing.
gapSpacingmdRole-based spacing that follows the active density.
alignAlignmentstretchCross-axis alignment without changing DOM or keyboard order.
Native Solid/HTML attributes remain available and are omitted from this authored-prop view.