ortaui
  1. Components
  2. Data display

Kbd

A keyboard key hint.

Installation#

npx shadcn add @ortaui/kbd

Examples#

Default#

KCtrlShiftPPress Esc to close.

API reference#

PropTypeDefaultDescription
surface"default" | "raised"autoLook on a panel. Unset: raised (page fill + border) inside any [data-surface] container. "raised" forces it anywhere; "default" keeps the muted fill even inside a surface.
classNamestring-Merged with the component classes via cn().