Kbd
| Argument | Required | Type | Default | Description |
|---|---|---|---|---|
size |
No | string |
null |
Specifies the size of the button. Options depend on your CSS (e.g., lg, sm). |
Component from DaisyUI
Installation
cotton-daisy add kbd
Usage
<c-kbd>Ctrl</c-kbd>
<c-kbd size="lg">Ctrl</c-kbd>
<c-kbd size="md">Ctrl</c-kbd>
<c-kbd size="sm">Ctrl</c-kbd>
<c-kbd size="xs">Ctrl</c-kbd>