Components › Display

Kbd

A keyboard key, for shortcuts in menus, tooltips and docs.

Installation

npx plankui@latest add kbd

Usage

import { Kbd } from "@/components/ui/kbd";

<Kbd>⌘</Kbd><Kbd>K</Kbd>

API reference

PropTypeDefaultDescription
childrenReactNodeThe key label.

View the source on GitHub