kanso
/ui
v0.1
01
Docs
02
Components
03
Blocks
04
Themes
Search
⌘K
Components
29 components. Each one is a single file you copy into your project.
Form
Button
Triggers an action. Six variants, five sizes, and asChild for links.
Checkbox
A control that toggles between checked, unchecked and indeterminate.
Input
A single-line text field.
Label
An accessible caption for a form control.
Radio Group
A set of options where exactly one can be chosen.
Select
Pick one value from a list in a styled popup.
Slider
Choose a value, or a range, by dragging along a track.
Switch
An on/off control for settings that take effect immediately.
Textarea
A multi-line text field that grows with its content.
Toggle
A two-state button, such as bold or italic in a toolbar.
Display
Alert
A callout for information that needs the user's attention.
Avatar
An image of a person, with a text fallback while it loads or if it fails.
Badge
A small label for status, counts or categories.
Card
A bordered container with header, content and footer slots.
Empty
A placeholder for lists and pages with nothing to show yet.
Kbd
Shows a keyboard key or shortcut.
Progress
Shows how far a task has got. Leave value out for an indeterminate bar.
Separator
A hairline that divides content, horizontally or vertically.
Skeleton
A pulsing block that stands in for content while it loads.
Spinner
A small loading indicator that inherits the text colour.
Table
Styled table elements for rows of data.
Overlay
Dialog
A modal window over the page that traps focus until it closes.
Dropdown Menu
A menu of actions opened from a button, with groups, checkboxes and submenus.
Popover
Floating content anchored to a trigger, for small forms and details.
Sheet
A panel that slides in from any edge of the screen.
Toast
Brief, stacked notifications, built on Sonner.
Tooltip
A short label shown on hover or focus.
Navigation
Accordion
A vertically stacked set of headings that each reveal a section of content.
Tabs
Switch between panels of related content.