Key cap

A key cap shows a keyboard shortcut inside a button or a menu row, so the shortcut is learned where the action is.

Previewapps/web/components/ui/KbButton.tsx

In a button and a row

Show code
<KbButton>Search <KbKbd>⌘</KbKbd><KbKbd>K</KbKbd></KbButton>