DescriptionDetails
A semantic value in a description list, optionally using tabular figures.@gemologic/sheen · data-displayPlayground
- 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 keysDo
- 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
| Name | Type | Default | Description |
|---|---|---|---|
numeric | boolean | false | Enable tabular figures for numeric values; formatting remains app-owned or uses the context locale formatter. |