--- ## Kbd Keyboard-key hint. Renders one or more keys as a compact, physical-looking keycap — the canonical way to show shortcuts (⌘K, Ctrl + S) in menus, tooltips, command palettes and docs. Pure display; emits a semantic `` element. **Import:** `import { Kbd } from '@urbicon-ui/blocks';` ### Examples ```svelte ``` ```svelte ``` ### Variants - size: lg, md, sm (default: md) ### Api | Prop | Type | Required | Default | Description | | --- | --- | :---: | --- | --- | | ...HTMLAttributes | `HTMLAttributes` | no | | HTML attributes (excluding: 'children' | 'class') | | ...KbdVariants | `VariantProps` | no | | Styling variants from KbdVariants | | children | `Snippet` | no | | Custom content; overrides `keys`. | | class | `string` | no | | Additional CSS class merged onto the root ``. | | keys | `string | string[]` | no | | The key(s) to display. A single string renders one label; an array renders each entry joined by `separator` (e.g. `['Ctrl', 'K']` → `Ctrl + K`). Ignored when `children` is provided. | | preset | `string` | no | | Apply a named preset registered via ``. Prefer this over `class` overrides when the requested look falls outside the semantic palette — presets keep dark-mode logic coherent and reusable. | | separator | `string` | no | '+' | Separator rendered between multiple `keys`. | | size | `'sm' | 'md' | 'lg'` | no | | Keycap size — sm, md (default), lg. | | slotClasses | `Partial>` | no | | Per-slot class overrides. Slots: base | separator | | unstyled | `boolean` | no | | Strip all default styles; combine with slotClasses to rebuild from scratch. | Inherited from: - KbdVariants (external) - Omit, 'children' | 'class'> (omit-pattern) ### Slots (slotClasses keys) `base`, `separator`