Shadcn/ui Kbd - Figma Component
Displays a keyboard key. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.
Every Kbd variant includes all the necessary states, properties, and styling options you need to create consistent, production-ready designs. The component seamlessly integrates with your existing Figma files and maintains full compatibility with the shadcn/ui React implementation.
Features
- Visual representation of keyboard keys
- Support for modifier keys (Cmd, Ctrl, Shift, Alt)
- Key combination display (Cmd+K, Ctrl+C)
- Platform-specific key rendering
- Inline usage within text
- Consistent styling matching keyboard aesthetics
Browse all 56 components
- Accordion5 variants
- Alert Dialog5 variants
- Alert4 variants
- Aspect Ratio2 variants
- Avatar8 variants
- Badge5 variants
- Breadcrumb5 variants
- Button Group10 variants
- Button13 variants
- Calendar9 variants
- Card4 variants
- Carousel5 variants
- Chart6 variants
- Checkbox6 variants
- Collapsible3 variants
- Combobox10 variants
- Command4 variants
- Context Menu8 variants
- Data Table1 variant
- Date Picker6 variants
- Dialog4 variants
- Direction1 variant
- Drawer3 variants
- Dropdown Menu11 variants
- Empty5 variants
- Field11 variants
- Hover Card2 variants
- Input Group12 variants
- Input OTP8 variants
- Input13 variants
- Item9 variants
- Kbd4 variants
- Label1 variant
- Menubar4 variants
- Navigation Menu1 variant
- Pagination2 variants
- Popover3 variants
- Progress2 variants
- Radio Group5 variants
- Resizable2 variants
- Scroll Area1 variant
- Select5 variants
- Separator3 variants
- Sheet2 variants
- Sidebar1 variant
- Skeleton5 variants
- Slider5 variants
- Sonner3 variants
- Spinner6 variants
- Switch5 variants
- Table2 variants
- Tabs4 variants
- Textarea4 variants
- Toggle Group6 variants
- Toggle4 variants
- Tooltip3 variants
Keyboard shortcuts in Figma
The shadcn/ui figma Kbd displays keyboard keys and shortcuts. Design documentation, tooltips, and menus in Figma with visual key representations. This shadcn figma component makes shortcuts clear and professional.
Platform-specific keys
Design keyboard shortcuts in Figma with the shadcn/ui figma component—Cmd for Mac, Ctrl for Windows. Prototype interfaces where shortcuts adapt to user platforms, matching shadcn/ui behavior.
Key combinations
This shadcn figma Kbd supports multiple keys like Cmd+K or Ctrl+S. Design shortcuts in Figma that show simultaneous key presses clearly, helping users learn efficient workflows.
Inline keyboard documentation
The shadcn/ui figma Kbd works inline within text. Design help text and instructions in Figma where keyboard shortcuts integrate naturally with content, matching shadcn/ui styling.
Your questions, answered
Common questions about the Kbd component in the shadcn/ui Figma kit.
Use Kbd to document keyboard shortcuts in help text, tooltips, menu items, onboarding, or documentation. It makes shortcuts visually distinct and easier to understand compared to plain text like "press control c".
For combinations, use multiple Kbd components together: Cmd+K becomes <Kbd>Cmd</Kbd>+<Kbd>K</Kbd>. The plus sign shows they should be pressed simultaneously, while separate instances show sequential key presses.
Yes! Show Cmd for Mac users and Ctrl for Windows/Linux users. Many applications detect the platform and display appropriate modifier keys automatically, ensuring shortcuts are relevant to each user's system.
Absolutely. Kbd works inline within sentences: "Press <Kbd>Cmd</Kbd>+<Kbd>S</Kbd> to save". This helps integrate keyboard shortcuts naturally into instructions, tooltips, and help documentation without breaking text flow.
Document frequently-used shortcuts and power-user features. Focus on actions users perform often: save, undo, search, navigate. Don't document every possible shortcut; highlight the ones that significantly improve efficiency.
Yes, this Figma Kbd component matches the shadcn/ui implementation exactly, ensuring your keyboard shortcut displays look consistent and professional from design to production documentation.