Fine-tune light, shadows, borders, neumorphic
Light and shadows
Borders
Neumorphic
Data

DescriptionList <pm-description-list>

Description list: label and value pairs for detail views (an order, a profile, an invoice).

Full screen
Pro Active [email protected] 1 March 2027 Seats12 of 20 used

Props

<script type="module"> import '@prismora/css'; import '@prismora/elements/badge'; import '@prismora/elements/description-list'; import '@prismora/elements/icon'; import { registerIcons } from '@prismora/elements/icon'; import { users } from '@prismora/icons'; registerIcons([users]); </script> <pm-description-list divided label="Subscription"> <pm-description-item label="Plan"> Pro <pm-badge tone="success">Active</pm-badge> </pm-description-item> <pm-description-item label="Billing email">[email protected]</pm-description-item> <pm-description-item label="Renews">1 March 2027</pm-description-item> <pm-description-item> <span slot="label" class="pm-cluster" style="--pm-gap: var(--pm-space-1)"> <pm-icon name="users"></pm-icon> Seats </span> 12 of 20 used </pm-description-item> </pm-description-list>

Overview

Labels sit beside values, and stack above them on phones or with layout="vertical". Plain HTML alternative: <dl class="pm-dl"><div><dt>Plan</dt><dd>Pro</dd></div></dl>.

Attributes

AttributeTypeDefaultDescription
layout'horizontal' | 'vertical'—horizontal (default: label beside value) or vertical (label above value).
columnsnumber—Number of columns of pairs on wide screens (default 1).
dividedboolean—Draw a line between rows.
labelstring—Accessible name for the list.

Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.

Slots

SlotDescription
(default)<pm-description-item> elements.

<pm-description-item>

One label and value pair in a <pm-description-list>.

Attributes

AttributeTypeDefaultDescription
labelstring—Accessible name (and visible label where the component shows one).

Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.

Slots

SlotDescription
(default)The value (text, a badge, a link).
labelRich label, instead of the label attribute.

Used in templates

OrdersCustomer 360Project boardBilling and invoicesProduct pageServer error (500)Onboarding wizard