Skip to content
nexubDesign System
v12.7.0

Components · Inline Primitives

Kbd

StableAdded v0.0.1

Keyboard key display — renders a styled <kbd> element.

import { Kbd } from '@nexub/react';
View as Markdown

Playground

Props

⌘
TSX
<Kbd>⌘</Kbd>

Examples

Default

⌘K

Combinations

⌘K

— Open search

⌃C

— Copy

⇧⌘P

— Command palette

Props

Props
PropTypeDefaultDescription
...propsReact.HTMLAttributes<HTMLElement>—All standard kbd HTML attributes are forwarded.

On iOS & Android