datui
Color scheme

Data display

InfoRow

Label and value pair.

import { InfoRow } from "datui";

Playground

City: Lisbon
<InfoRow header="City">Lisbon</InfoRow>

Examples

Info rows

Birthday: May 1, 1995
City: Lisbon

Accessibility

  • A visually hidden ": " separates header and value so screen readers don't run them together.

API

InfoRow

Label + value pair. A hidden separator keeps screen readers from running the two together.

PropTypeDefaultDescription
header (required)ReactNode—Small label shown above the value.
classNamestring—