Kbd
Basic Usage
Loading...
Installation
pnpm add @corew500/uiUsage
import { Kbd } from "@corew500/ui/kbd"
<Kbd>Content</Kbd>API Reference
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| keys | string[] | — | Array of modifier keys to display as symbols (e.g., ['command', 'shift']) |
Accessibility
Keyboard Navigation
- - Uses semantic `<kbd>` element for keyboard input.
Screen Readers
- Screen readers will read the key symbols/names.
Localization
Translatable Content
- - Key symbols are universal, but consider platform differences (Cmd vs Ctrl).