KeyValue
moleculesLabel and value pairs in one or two columns: toned values, mono values, a hint line, dense spacing, end alignment and snippet values.
Host card
rows with tone, mono and hint, columns={2} inside a Card; a dense end-aligned summary below.
Host
postgres-primary- Region
- eu-west-1
- Status
- healthy
- Image
- postgres:18-pgautoupgrade pulled 2h ago
- CPU
- 38%
- Memory
- 15.4 GB
- Uptime
- 120 days
- Connections
- 42
- Replication lag
- 120 ms
All hosts shown
Columns, density and alignment
columns={1} | {2}; dense tightens the row gap; align="end" right-aligns values.
columns 1
- Model
- claude-sonnet-5-5
- Tokens
- 128000
- Cost
- $0.42
- Duration
- 4 min 12 s
columns 2
- Model
- claude-sonnet-5-5
- Tokens
- 128000
- Cost
- $0.42
- Duration
- 4 min 12 s
dense
- Model
- claude-sonnet-5-5
- Tokens
- 128000
- Cost
- $0.42
- Duration
- 4 min 12 s
align end
- Model
- claude-sonnet-5-5
- Tokens
- 128000
- Cost
- $0.42
- Duration
- 4 min 12 s
Tones, snippets and long values
every tone on a value, a value that is a snippet, a long value that wraps and an empty rows array.
- neutral
- value
- ok
- value
- success
- value
- warn
- value
- danger
- value
- info
- value
- accent
- value
- Owner
- online Amara Okafor
- Image digest
- sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 wraps rather than overflows
- Description
- A long free-text value that keeps the label column fixed and wraps across as many lines as it needs on a phone.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
rows required | KeyValueRow[] | — | |
columns | 1 | 2 | 1 | |
dense | boolean | false | |
align | 'start' | 'end' | 'start' | |
class | string | '' |