View laravel-hotwire on GitHub
1M
v0.91.0
Search 71 components and 72 controllers by name, category or description.
Kbd
Keyboard input hint for shortcuts and grouped key combinations
Single key
⌘K
Enter
Esc
<hw:kbd>⌘K</hw:kbd>
<hw:kbd>Enter</hw:kbd>
<hw:kbd>Esc</hw:kbd>
Grouped shortcut
⌘
Shift
P
Ctrl
K
<hw:kbd.group>
<hw:kbd>⌘</hw:kbd>
<hw:kbd>Shift</hw:kbd>
<hw:kbd>P</hw:kbd>
</hw:kbd.group>
<hw:kbd.group>
<hw:kbd>Ctrl</hw:kbd>
<hw:kbd>K</hw:kbd>
</hw:kbd.group>
Inside button
Pair with `hotkey` on the button to wire the actual shortcut.
<hw:button type="button" hotkey="cmd+s">
Save <hw:kbd>⌘S</hw:kbd>
</hw:button>