structyl

Description List API

View component

The full prop reference for the Description List component. A semantic dl / dt / dd compound for key–value pairs, with horizontal or vertical layout.

Import

tsx
import { DescriptionList } from '@structyl/styled';

Props

DescriptionList

A semantic dl element for key–value pairs. Compound component — use DescriptionList.Term and DescriptionList.Details. Extends the native dl element.

PropTypeDefault
orientation#'horizontal' | 'vertical'

Two-column (horizontal) or stacked (vertical) layout.

'horizontal'

DescriptionList.Term

A term in the list. Renders a dt element. Accepts all standard HTML attributes.

PropTypeDefault

DescriptionList.Details

The details for a term. Renders a dd element. Accepts all standard HTML attributes.

PropTypeDefault

Source code

If you didn't find what you need here, read the component implementation .

structyl — Accessible React Component Library