Data display

Kbd

No consumers

A keyboard key, rendered as the chip used in tooltips and the command palette.

Importimport { Kbd } from "@/components/ui/Kbd";
Sourcesrc/components/ui/Kbd

One key per Kbd — render and Kas two chips rather than one reading “⌘K”. It unifies the chips used in tooltips and the command palette.

Default

KEsc

Props

Kbd

PropTypeDefaultDescription
…HTMLAttributesHTMLAttributes<HTMLElement>Renders a `kbd` element.