Carregando…
Carregando…
Carregando…Keyboard shortcut display with special key symbols and size/variant options.
Shortcut Key — keyboard shortcut display
$ npx kikitocn add shortcut-keyimport { ShortcutKey } from "@/components/ui/cn/shortcut-key/ShortcutKey";
export function ShortcutKeyExample() {
return (
<ShortcutKey />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
keys* | string[] | — | Array de teclas a exibir (ex: ['⌘', 'K']) |
size | 'sm' | 'md' | 'lg' | 'md' | Tamanho visual |
variant | 'default' | 'filled' | 'default' | Estilo do badge |
className | string | — | Classes CSS extras |