Description List
Term/value pairs on a semantic <dl>: DescriptionList > DescriptionItem > DescriptionTerm + DescriptionDetails.
Overview
- `layout="inline"` (default): each value at the end of its row, right-aligned with tabular numbers — for order summaries, totals and plan details.
- `layout="stacked"`: the value under a smaller term, in a grid whose columns you set with
className— for record details. - `divided`: draws rules between rows.
- Icons: an icon inside
DescriptionTermsits before the label.
Installation
CLI
Manual
- 1
Register the @fma-ds namespace in components.json (once)
- 2
Add the item
Files land in
components/fma-ds/description-list.tsx; npm and registry dependencies are installed along with them.
Dependencies
- npm
- class-variance-authority@^0.7.1cn@^0.5.0
- Registry
- None