Kbd
- from @mizzle
- by mizzle <https://mizzle.saddy.me>
A keyboard key for showing shortcuts. KbdShortcut takes a combination as text and draws the caps for it, and each cap dips while that key is held on the keyboard, then springs back. Command shows as ⌘ on Apple platforms and Ctrl elsewhere.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @mizzle/kbdComponent source
No live preview has been built for this component yet.
Registry dependencies1
- @mizzle/use-latest
Packages0
No npm packages are installed with it.
