Renders a key or key combination as a small badge, for documenting shortcuts. Put the key text in the default slot.
Ejemplos
Shortcuts
Combine several to show a chord.
Save with ⌘ S
<p class="flex items-center gap-1 text-sm text-gray-500">
Save with <UiKbd>⌘</UiKbd> <UiKbd>S</UiKbd>
</p>Props
Este componente no admite props.
Slots
| Slot | Descripción |
|---|---|
default | Key text or combination to display. |