Kbd

Kbd

Tactile monospace keycap indicator for command palettes, shortcuts, and deck controls.

Tactile Hardware Keycaps

General mechanical switch-style keycaps with tactile bottom bevels and universal shortcut labels.

Search CtrlKPlay / Pause SpaceHardware Mode F1Exit Esc

Keycap Styles

Four tactile styles: Default mechanical, Subtle inset, Primary illuminated, and Chunky hardware synth cap.

CtrlAltSpaceEsc

Sizes

Small, default, and large keycap scales for toolbars, inputs, and synthesizer panels.

CtrlCtrlCtrl

Quick Import

Example.tsxtsx
1import { Kbd } from "@rekodo/react";
2
3export function Example() {
4 return (
5 <div className="flex items-center gap-1">
6 <Kbd>Ctrl</Kbd>
7 <Kbd>K</Kbd>
8 </div>
9 );
10}

API Reference

Props accepted by this component.

PropTypeDefaultDescription
variant"default" | "subtle" | "primary" | "chunky""default"Keycap surface, bevel, and tactile border styling.
size"sm" | "default" | "lg""default"Height, padding, and monospace text size.