Components
Kbd
Displays keyboard input or shortcut keys with customizable styles and sizes.
Installation
Install ReUI
Refer to the Installation Guide for detailed instructions on setting up ReUI dependencies in your project.
Add component
Copy and paste the following code into your project’s components/ui/kbd.tsx
file.
Examples
Default
Loading
Outline
Loading
Size
Loading
API Reference
This component provides a customizable keyboard input display with various styles and sizes.
Kbd
This component is a custom implementation that displays keyboard inputs with the following props:
Prop | Type | Default |
---|---|---|
variant | ||
size | ||
className |