Skip to content
Cynco UI

Layout · Primitives

KeyValueList

A label/value list: side by side when there's room, label above value below 16rem.

import { KeyValueList } from "@cynco-labs/ui";

Example

Use

Totals blocks, document detail rails, payment summaries.

Props

items ({label, value, negative, strong}), className.

Notes

Values are tabular-nums and right-aligned; negative uses text-error-text, strong makes a total row.

Source Demo source Markdown