Skip to content

Keyboard ‚Äč

A sl-keyboard component represents a text that describe keyboard inputs to trigger a specific action.

This component reflects and extends the behavior of the standard kbd element.

Press Ctrl + B to do something awesome.
html
Press <sl-keyboard>Ctrl</sl-keyboard> + <sl-keyboard>B</sl-keyboard> to do something awesome.