OPUS/UI

Navigation

Kbd

Key caps for shortcuts and keyboard hints.

2 files · 24 locdeps: clsx, tailwind-merge

Open the command palette with⌘K

Navigate with ↑↓ and confirm with Enter

Installation

With the shadcn CLI, pointing at this platform’s registry:

npx shadcn@latest add https://opusui.131199999.xyz/r/kbd.json

Or offline, straight from your opus55 checkout (copies every file it needs):

node ../tailwind_component/opus55/scripts/add.mjs kbd

Usage

import { Kbd } from "@/components/opus/ui/kbd";

<Kbd>⌘</Kbd><Kbd>K</Kbd>

Command palette