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.
| Prop | Type | Default | Description |
|---|---|---|---|
| header (required) | ReactNode | — | Small label shown above the value. |
| className | string | — |