Klarhimmel UI
/
ui
Files
Code
Info
Accordion
A stack of headings that each open and close a panel: one open at a time or several, arrow-key navigation between headings.
Agent Chat
agent-chat
The agent-chat primitive.
Alert Dialog
alert-dialog
A confirmation dialog that cannot be dismissed by accident: focus starts on Cancel, a click outside does nothing, the confirm button names the action. Built on Dialog.
Answer Form
answer-form
The answer-form primitive.
Avatar
A person or team as a photo, or as initials on a colour picked from the name. Four sizes, round or square, falls back when a photo fails.
Avatar Group
avatar-group
The avatar-group primitive.
Badge
A short status or category label in neutral, accent or outline tones.
Banner
An inline message for a page or form: info, neutral or error, with an optional action and a dismiss button. Errors are announced at once.
Board
The board primitive.
Breadcrumb
The path to the current page as a labelled list of links; the last item is the page itself (aria-current), not a link.
Button
The button and the link-as-button: primary, secondary, ghost, accent and soft variants, three sizes, a 44 px hit area.
Calendar
The calendar primitive.
Card
A bordered surface that groups one thing people scan as a unit.
Chat Composer
chat-composer
The chat-composer primitive.
Checkbox
A labelled checkbox with hint and error text, a checked, unchecked or indeterminate state, built on Radix Checkbox.
Collapsible
One button that shows or hides a region below it, with aria-expanded and aria-controls.
Collection Controls
collection-controls
Native search, filter and sort controls. Search stays visible; options collapse in narrow containers. Collection state belongs to the consuming app.
Combobox
A text field that filters a list as you type and picks one option: ARIA list-autocomplete combobox, match count announced, a form value.
Command
The command primitive.
Context Menu
context-menu
The context-menu primitive.
Copy Button
copy-button
An icon button that copies a value to the clipboard and confirms with a check.
Date Picker
date-picker
The date-picker primitive.
Dialog
A modal dialog with title, description, scrolling body and pinned footer buttons; alert mode for destructive choices. Built on Radix Dialog.
Doc Host
doc-host
The doc-host primitive.
Doc Page
doc-page
The doc-page primitive.
Empty State
empty-state
A centred icon, heading, text and one action for lists, searches and inboxes with nothing in them yet.
Error Boundary
error-boundary
The error-boundary primitive.
File Field
file-field
A styled file input with label, chosen file names announced to screen readers, a hint and an error.
File Type Icon
file-type-icon
The file-type-icon primitive.
Grid Card
grid-card
The grid-card primitive.
Hover Card
hover-card
The hover-card primitive.
Icon Button
icon-button
A button with only an icon; the required label is its accessible name and its tooltip, with a 44 px hit area and a toggle state.
Icon Circle
icon-circle
The icon-circle primitive.
Input
Input, Textarea and Field: text controls and the wrapper that owns the label, hint and error and wires them with aria.
Input Group
input-group
The input-group primitive.
Input Otp
input-otp
The input-otp primitive.
Kbd
A keyboard key for shortcuts in text, menus and tooltips.
Klarhimmel Mark
klarhimmel-mark
The klarhimmel-mark primitive.
Label
The visible text that names a form control, with an optional required mark that screen readers announce too.
Menu
A dropdown menu of actions with icons, shortcuts, check and radio items, separators and danger items. Built on Radix Dropdown Menu.
Native Select
native-select
The browser select in the system field style, with invalid and disabled states. Best on phones and for short lists.
Number Field
number-field
The number-field primitive.
Page Preview Card
page-preview-card
The page-preview-card primitive.
Pagination
Page navigation as buttons or plain links, with the current page marked and Previous and Next kept as disabled buttons at the ends.
Popover
A floating panel anchored to a button for detail or a one-field form. Non-modal, closes on Escape or an outside click. Built on Radix Popover.
Progress
A bar for a known share done or an indeterminate wait, on the native progress element so the value is announced.
Radio Group
radio-group
One choice from a few visible options: native radio inputs in a fieldset with a legend, hint and error, form-ready without script.
Review Bar
review-bar
The review-bar primitive.
Rich Text Editor
rich-text-editor
Short formatted text (bold, italic, bullet lists, links) edited in place, Markdown in and out, with a one-row toolbar that floats above it while it has focus and flips below when there is no room. ProseMirror via ProseKit.
Score Ring
score-ring
A bounded score with a readable caption; unassessed stays distinct from zero.
Scroll Area
scroll-area
The scroll-area primitive.
Select
A custom dropdown following the ARIA select-only combobox pattern: arrows, Home, End, Page keys, type-ahead, a hidden input for forms.
Separator
A hairline between groups, horizontal or vertical, decorative or a real separator role.
Settings
The settings primitive.
Sheet
A modal side panel (right, left or bottom) for filters, details or a cart: titled, focus-trapped, Escape closes. Built on Dialog.
Sidebar
The sidebar primitive.
Skeleton
Loading placeholders: a block you size with classes, and a text group that announces Loading once.
Slider
A single-value slider on the native range input, with the filled track following the value; keys and role come from the browser.
Source Note
source-note
Source provenance and limitations beside copied, cached or partial data.
Status Dot
status-dot
The status-dot primitive.
Stepper
The stepper primitive.
Switch
An on/off switch for a setting that applies at once, built on Radix Switch.
Tab Bar
tab-bar
The tab-bar primitive.
Table
A semantic data table in a keyboard-scrollable region: caption, column and row headers, sortable headers with aria-sort, selectable rows.
Tabs
Tabs with keyboard arrows, Home and End, built on Radix Tabs.
Text Link
text-link
An inline link with an always-visible underline and a focus ring.
Theme Parts
theme-parts
The theme-parts primitive.
Toast
Toasts from anywhere in the app: neutral, info and danger tones, an optional Undo action, polite and assertive live regions.
Toggle
A button that stays pressed (bold, favourite, mute), with aria-pressed.
Toggle Group
toggle-group
A row of toggles that belong together: single (a radio group) or multiple, one tab stop with arrow-key movement.
Tooltip
A short label for a control on hover and keyboard focus, with a shortcut hint and a shared delay provider. Built on Radix Tooltip.
Zoom Canvas
zoom-canvas
The zoom-canvas primitive.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information
Accordion
A stack of headings that each open and close a panel: one open at a time or several, arrow-key navigation between headings.
Agent Chat
agent-chat
The agent-chat primitive.
Alert Dialog
alert-dialog
A confirmation dialog that cannot be dismissed by accident: focus starts on Cancel, a click outside does nothing, the confirm button names the action. Built on Dialog.
Answer Form
answer-form
The answer-form primitive.
Avatar
A person or team as a photo, or as initials on a colour picked from the name. Four sizes, round or square, falls back when a photo fails.
Avatar Group
avatar-group
The avatar-group primitive.
Badge
A short status or category label in neutral, accent or outline tones.
Banner
An inline message for a page or form: info, neutral or error, with an optional action and a dismiss button. Errors are announced at once.
Board
The board primitive.
Breadcrumb
The path to the current page as a labelled list of links; the last item is the page itself (aria-current), not a link.
Button
The button and the link-as-button: primary, secondary, ghost, accent and soft variants, three sizes, a 44 px hit area.
Calendar
The calendar primitive.
Card
A bordered surface that groups one thing people scan as a unit.
Chat Composer
chat-composer
The chat-composer primitive.
Checkbox
A labelled checkbox with hint and error text, a checked, unchecked or indeterminate state, built on Radix Checkbox.
Collapsible
One button that shows or hides a region below it, with aria-expanded and aria-controls.
Collection Controls
collection-controls
Native search, filter and sort controls. Search stays visible; options collapse in narrow containers. Collection state belongs to the consuming app.
Combobox
A text field that filters a list as you type and picks one option: ARIA list-autocomplete combobox, match count announced, a form value.
Command
The command primitive.
Context Menu
context-menu
The context-menu primitive.
Copy Button
copy-button
An icon button that copies a value to the clipboard and confirms with a check.
Date Picker
date-picker
The date-picker primitive.
Dialog
A modal dialog with title, description, scrolling body and pinned footer buttons; alert mode for destructive choices. Built on Radix Dialog.
Doc Host
doc-host
The doc-host primitive.
Doc Page
doc-page
The doc-page primitive.
Empty State
empty-state
A centred icon, heading, text and one action for lists, searches and inboxes with nothing in them yet.
Error Boundary
error-boundary
The error-boundary primitive.
File Field
file-field
A styled file input with label, chosen file names announced to screen readers, a hint and an error.
File Type Icon
file-type-icon
The file-type-icon primitive.
Grid Card
grid-card
The grid-card primitive.
Hover Card
hover-card
The hover-card primitive.
Icon Button
icon-button
A button with only an icon; the required label is its accessible name and its tooltip, with a 44 px hit area and a toggle state.
Icon Circle
icon-circle
The icon-circle primitive.
Input
Input, Textarea and Field: text controls and the wrapper that owns the label, hint and error and wires them with aria.
Input Group
input-group
The input-group primitive.
Input Otp
input-otp
The input-otp primitive.
Kbd
A keyboard key for shortcuts in text, menus and tooltips.
Klarhimmel Mark
klarhimmel-mark
The klarhimmel-mark primitive.
Label
The visible text that names a form control, with an optional required mark that screen readers announce too.
Menu
A dropdown menu of actions with icons, shortcuts, check and radio items, separators and danger items. Built on Radix Dropdown Menu.
Native Select
native-select
The browser select in the system field style, with invalid and disabled states. Best on phones and for short lists.
Number Field
number-field
The number-field primitive.
Page Preview Card
page-preview-card
The page-preview-card primitive.
Pagination
Page navigation as buttons or plain links, with the current page marked and Previous and Next kept as disabled buttons at the ends.
Popover
A floating panel anchored to a button for detail or a one-field form. Non-modal, closes on Escape or an outside click. Built on Radix Popover.
Progress
A bar for a known share done or an indeterminate wait, on the native progress element so the value is announced.
Radio Group
radio-group
One choice from a few visible options: native radio inputs in a fieldset with a legend, hint and error, form-ready without script.
Review Bar
review-bar
The review-bar primitive.
Rich Text Editor
rich-text-editor
Short formatted text (bold, italic, bullet lists, links) edited in place, Markdown in and out, with a one-row toolbar that floats above it while it has focus and flips below when there is no room. ProseMirror via ProseKit.
Score Ring
score-ring
A bounded score with a readable caption; unassessed stays distinct from zero.
Scroll Area
scroll-area
The scroll-area primitive.
Select
A custom dropdown following the ARIA select-only combobox pattern: arrows, Home, End, Page keys, type-ahead, a hidden input for forms.
Separator
A hairline between groups, horizontal or vertical, decorative or a real separator role.
Settings
The settings primitive.
Sheet
A modal side panel (right, left or bottom) for filters, details or a cart: titled, focus-trapped, Escape closes. Built on Dialog.
Sidebar
The sidebar primitive.
Skeleton
Loading placeholders: a block you size with classes, and a text group that announces Loading once.
Slider
A single-value slider on the native range input, with the filled track following the value; keys and role come from the browser.
Source Note
source-note
Source provenance and limitations beside copied, cached or partial data.
Status Dot
status-dot
The status-dot primitive.
Stepper
The stepper primitive.
Switch
An on/off switch for a setting that applies at once, built on Radix Switch.
Tab Bar
tab-bar
The tab-bar primitive.
Table
A semantic data table in a keyboard-scrollable region: caption, column and row headers, sortable headers with aria-sort, selectable rows.
Tabs
Tabs with keyboard arrows, Home and End, built on Radix Tabs.
Text Link
text-link
An inline link with an always-visible underline and a focus ring.
Theme Parts
theme-parts
The theme-parts primitive.
Toast
Toasts from anywhere in the app: neutral, info and danger tones, an optional Undo action, polite and assertive live regions.
Toggle
A button that stays pressed (bold, favourite, mute), with aria-pressed.
Toggle Group
toggle-group
A row of toggles that belong together: single (a radio group) or multiple, one tab stop with arrow-key movement.
Tooltip
A short label for a control on hover and keyboard focus, with a shortcut hint and a shared delay provider. Built on Radix Tooltip.
Zoom Canvas
zoom-canvas
The zoom-canvas primitive.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information