Skip to content
Twentyfirst UIHalo

Key Value

Foundations · Collapsible, Kbd, KeyValue, Spinner, StatusIndicator

Small building blocks for detail panels: KeyValue (label/value list), Kbd (keyboard keys), Spinner, Collapsible.

KeyValue: items ([label, value, mono] or {k, v, mono}), dense. Empty values show a dash.
Kbd: keys (array). Spinner: size ("lg"), label. Collapsible: title, meta, defaultOpen / open + onOpenChange, children.

  • Keep keys short nouns; values that are codes, IDs or addresses use mono.
  • Show a spinner only after ~300 ms; inside a button it replaces the icon.
Server
ax41-fsn1
Address
95.217.14.80
Kernel
6.8.0-45
Backups
Nightly · 03:00
Notes
—
Search⌘KApproveA
Timeout
30 s
Retries
3

Props

Collapsible

PropTypeNotes
titleReactNodeRequired
meta?ReactNode
defaultOpen?boolean
open?boolean
onOpenChange?(open: boolean) => void
children?ReactNode
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

Kbd

PropTypeNotes
keys?string[]
children?ReactNode
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

KeyValue

PropTypeNotes
itemsKeyValueItem[]Required
dense?boolean
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

Spinner

PropTypeNotes
size?"lg"
label?string
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

StatusIndicator

PropTypeNotes
statusStatusRequired
label?ReactNode
size?"sm"
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.