--- templateEngineOverride: njk 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 - label: Input Group id: example-input-group - label: RTL id: example-rtl --- {% 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 kbd-group to group multiple keys.
Use Ctrl + B Ctrl + K to open the command palette
{% endset %} {{ code_preview("kbd-group", group_html | prettyHtml) }}Keyboard labels are direction-neutral. Surrounding spacing should use logical utilities when position matters.
استخدم Ctrl K لفتح البحث
{% endset %} {{ code_preview("kbd-rtl", rtl_html | prettyHtml) }}