Represents keyboard input or a hotkey.
This component is based on the kbd
element and supports common margin props.
Prop | Type | Default |
---|---|---|
asChild | boolean | |
size | Responsive<enum> |
Use the size
prop to control text size.
Currently, we recommend using only sizes 1,2 and 3 following the ScaleUI Radix design system.