Kbd
⌘⇧⌥⌃Ctrl+B
Usage
Include CSS
Import Tailwind and one full A3S UI style bundle.
Or import only the base CSS, Kbd component CSS, and one style pack.
Kbd examples compose Button, Button Group, Input Group, and Tooltip styles.
Using CDN or bundler imports? See the Installation page.
Add your kbd HTML
Use <kbd class="kbd"> for a key label. Use an inline wrapper with utilities when grouping multiple keys.
Keyboard labels are direction-neutral. Surrounding spacing should use logical utilities when position matters.
Examples
Group
Use Ctrl+B Ctrl+K to open the command palette
Button
Input Group
⌘K
RTL
Keyboard labels are direction-neutral. Surrounding spacing should use logical utilities when position matters.
⌘⇧⌥⌃Ctrl+B