sheengemologic ui
All components

DescriptionDetails

A semantic value in a description list, optionally using tabular figures.@gemologic/sheen · data-display

Playground

Symbol
BTC
Quantity
1.25
<DescriptionList layout="columns"><DescriptionTerm>Symbol</DescriptionTerm><DescriptionDetails numeric={false}>BTC</DescriptionDetails><DescriptionTerm>Quantity</DescriptionTerm><DescriptionDetails numeric>1.25</DescriptionDetails></DescriptionList>

Variant matrix

Order details
Symbol
BTC
Quantity
1.25

Anatomy

Package
@gemologic/sheen
Source
packages/ui/src/primitives/DescriptionList.tsx
Tokens
  • --sheen-color-fg
  • --sheen-color-fg-muted
  • --sheen-text-ui-size
  • --sheen-space-block-md
  • --sheen-space-inline-lg

Accessibility

Role: native ddKeyboard: No component-owned keys

Do

  • Compose terms and details inside DescriptionList. Use one term/details pair per row in columns layout.
  • Use stacked layout for multiple terms or descriptions in a semantic group.

Do not

  • Do not use description lists as an interactive table or arbitrary layout grid.

Generated props

NameTypeDefaultDescription
numericbooleanfalseEnable tabular figures for numeric values; formatting remains app-owned or uses the context locale formatter.
Native Solid/HTML attributes remain available and are omitted from this authored-prop view.