Catalogue element

bry-kbd

A key or shortcut as a keycap: `mod+k` is ⌘K on a Mac and Ctrl+K elsewhere.

Settings

SettingTakesNeeded
texttext, at most 40 charactersyes

Example

JSX

<bry-stack direction={"row"} gap={"2"} align={"center"}>
  <bry-text text={"Search"} size={"sm"} tone={"muted"} />
  <bry-kbd text={"mod+k"} />
</bry-stack>

Renderer contact sheet

These paths will hold the checked light and dark captures.

Light
bry-kbd light renderer capture
Dark
bry-kbd dark renderer capture