MindeesUI
ComponentsDisplay

KeyValueRow

A single row pairing a left-aligned label with a right-aligned value and an optional divider.

KeyValueRow lays out one label/value pair on a row — the label muted on the left, the value emphasised and right-aligned. String and number values are wrapped in themed Text; any other node is rendered as-is. It is the building block of DetailView.

Import

import { KeyValueRow } from '@mindees/ui';

Usage

<KeyValueRow label="Email" value="ada@example.com" divider />

Props

PropTypeDefaultDescription
labelReactNodeLeft-aligned label.
valueReactNodeRight-aligned value.
dividerbooleanfalseDraw a bottom hairline divider.
styleStyleProp<ViewStyle>Style applied to the row.

Inherits the remaining ViewProps (except style).

Accessibility

The row is marked accessibilityRole="none" so the label and value are announced as one unit. Provide a concise label so the pairing is self-explanatory to assistive tech.

On this page