Components / Base ui

Base UI

Foundational building blocks — Label, Separator, and Kbd.

Label

Accessible form label with required indicator and hint text.

Separator — Horizontal

Dashed horizontal divider with optional center label.

Separator — Vertical

Inline vertical divider for toolbars and button rows.

FileEditView

Kbd — Keyboard Keys

Physical key styling for shortcuts. Add a 'shortcut' prop to autonomously listen for hotkeys and emit '@trigger'.

Press ⌘J anywhere on this page

0

Label API

Prop / EventTypeDefaultDescription
forstring''ID of the input element this label is bound to.
requiredbooleanfalseWhen true, displays a red asterisk.
hintstring''Optional helper text displayed inline.
disabledbooleanfalseVisually dims the label.

Separator API

Prop / EventTypeDefaultDescription
orientationstring'horizontal'Direction: 'horizontal' or 'vertical'.
labelstring''Optional text badge displayed in the center (horizontal only).

Kbd API

Prop / EventTypeDefaultDescription
shortcutstring''A shortcut combo (e.g. "meta+j", "shift+k") to automatically listen for.
sizestring'md'Size of the key: 'sm', 'md', or 'lg'.