The Kbd component visually represents keyboard keys and shortcuts, making it easy to communicate keyboard interactions in documentation and interfaces.
import Kbd from "@radui/ui/Kbd"; const KbdExample = () => ( <Kbd>Ctrl + C</Kbd> )
A component that visually represents keyboard buttons or key combinations, often used in documentation to indicate keyboard shortcuts or commands.
Prop | Type | Default |
---|---|---|
children | ReactNode | -- |
className | string | '' |
customRootClass | string | '' |
size | string | '' |