Overview Button Copy button Field Input Number field Textarea Select Combobox Multiselect Date picker Date range picker Date-time picker Checkbox Radio group Position picker Switch Slider Dropzone Device controls Avatar Badge Card Collapsible Kbd Map Matrix Proportion bar Separator Stat Table Timeline Chat Playback Pagination Charts Chart theming Profile chart Time series chart Bar chart Isopleth chart TS diagram Box plot Rose chart Calendar chart Banner Toast Loader Progress Skeleton Empty state Error state Dropdown menu Tooltip Info tooltip Dialog Sheet Resizable Confirm dialog Breadcrumbs Command palette Mobile menu Navigation list Outline Scroll rail Sidebar Tabs
Kbd
A key as it’s printed on the keyboard, for shortcuts in tooltips, menus and help.
Shortcuts
- Search
- CtrlK
- Toggle the sidebar
- CtrlB
- Save and add another
- ShiftEnter
- Close the sheet
- Esc
<Kbd keys={['mod', 'K']} />
<Kbd>Esc</Kbd> In a tooltip
Rules
- Use `mod` for ⌘ on a Mac and Ctrl elsewhere, so each sees their own keyboard.
- One cap per key. A combination is caps side by side, no plus signs.
- In tooltips and menus, after the action’s name. Never on its own without saying what it does.