Skip to content
View Markdown

LabeledContent ​

A label and its value on the same row.

tsx
import { LabeledContent } from '@satinhq/kit'

Example ​

Read the example, then change its values in the code.

Show a value ​

Pass the row title to label and its current value to value.

Place it in a list ​

A List or Form supplies the row spacing and separators. LabeledContent also accepts React nodes for its label and value.

Good to know ​

  • The example displays Author and Published as leading labels, with Jane Austen and 1817 as their trailing values.

API ​

Scroll horizontally to read every column.

PropTypeDescription
labelReactNodeThe leading label.
valueReactNodeThe trailing value.

Related: Quick start, List, Screen.

:::

Satin runs on the Lumen rendering engine and is open source under the MIT License.