--- layout: layouts/page.njk title: Kbd description: Used to display textual user input from keyboard. toc: - label: Usage id: usage - label: Examples id: examples children: - label: Group id: example-group - label: Button id: example-button --- {% from "macros/code_preview.njk" import code_preview %} {% from "macros/code_block.njk" import code_block %} {% set code_html %}
Use the <kbd> element with the kbd class:
Use Ctrl + B Ctrl + K to open the command palette
{% endset %} {{ code_preview("kbd-group", group_html | prettyHtml) }}