Kbd
A keyboard key cap. Pass a single child, or a keys array to render a multi-key chord.
Installation
npx stepwise-ui add kbd
Default
Inline
Props
PropTypeDescription
keysstring[]Render each key in its own cap with a thin gap.
childrenReactNodeA single key - used when keys is omitted.
classNamestringMerged onto the cap (or wrapper for keys).