Ready-to-Use Components Powered by Flowbite, ShadCN & Headless UI
Component Library
Browse and explore components
KBD
A KBD is a UI component used to display keyboard inputs or shortcuts in a styled, readable format.
Default KDB
ShiftCtrlTabCaps LockEscSpacebarEnter
Sample Code
Show Code
Copy Code
KBD Inside Text
Please press Ctrl + Shift + R to re-render an MDN page.
Sample Code
Show Code
Copy Code
KBD Inside Table
Key | Description |
---|---|
Shift or Tab | Navigate to interactive elements |
Enter or Spacebar | Ensure elements with ARIA role="button" can be activated with both key commands. |
or | Choose and activate previous/next tab. |
Sample Code
Show Code
Copy Code
Arrow Keys
Function keys
F1F2F3F4F5F6F7F8F9F10F11F12
Letter Keys
QWERTYIOPASDFGHJKLZXCVBNM
Number Keys
1234567890
API ( KBD )
Prop | Description | Type | Default |
---|---|---|---|
icon | To show arrow keys inside the KBD styled element. | 'MdKeyboardArrowUp' | 'MdKeyboardArrowDown' | - |