Kbd
The Kbd component is used to represent user input from a keyboard, voice input, or any other text-entry device. It’s ideal for documentation, tutorials, or user interfaces where you need to clearly indicate which keys a user should press.
enter
---import { Kbd } from "@/components/ui/kbd";---
<Kbd>enter</Kbd>
Installation
Section titled “Installation”Add the Kbd component to your project using the OrbitUI CLI:
npx orbitkit@latest add kbd
Import the Kbd
component and place the key or key combination you want to display as its child.
The Kbd
component renders a small box around its content, making it look like a physical key on a keyboard. This component accepts all the standard HTML attributes that a <kbd>
element would.