v0.3.1 StableFoundation ComponentReact 18 & 19Zero Runtime CSS

DescriptionList

Structured terms and values with responsive alignment.

Interactive preview

Workspace
Orbit
Plan
Team
Region
Asia Pacific
Owner
Ada Rivera

Usage

import { DescriptionList } from "@devvy-ui/react";

<DescriptionList items={[{term:"Workspace",description:"Orbit"},{term:"Plan",description:"Team"},{term:"Region",description:"Asia Pacific"}]} />

API reference

Native HTML attributes, className, style and a forwarded ref are supported. Component-specific props:

PropTypeDefaultDescription
itemsreadonly DescriptionItem[]requiredterm and description for each row.
orientationhorizontal | verticalhorizontalColumn layout; narrow screens stack automatically.

Accessibility & behavior

Platform Behavior & Guidelines

Uses native dl, dt and dd semantics, without table or list ARIA. Rows wrap long text and stack at narrow widths. Add actual links or formatted values in descriptions when needed. Native dl props, classes, style and refs are supported.

Source ownership

Run npx @devvy-ui/cli init once in your React project, then add the source:

npx @devvy-ui/cli add description-list

Make the source yours.

Start from the canonical implementation used by the package and registry. Change the code, keep the MIT notice, and build the behavior your project needs.

DescriptionList.tsxREACT / TSX

Edit your own copy. Downloaded source uses your changes; the component preview above uses the shipped version. Run the source installer first to include shared helpers.