Kbd
Display keyboard shortcuts and key hints with consistent styling that adapts to themes and variants.
Installation
Install the Kbd component using the nocta-ui CLI:
npx @nocta-ui/cli add kbdThen import the component:
import { Kbd } from '@/components/ui/kbd';Examples
Default Shortcut
Sizes
API Reference
Prop
Type