nalarx-ui
Components

Kbd

A keyboard key or shortcut hint.

bunx shadcn@latest add @nalarx/kbd

Usage

import { Kbd } from "@/components/ui/nx/Kbd";

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

Props

Every kbd attribute, plus className.

Replaces

NxKbd in both apps' components/ui/index.tsx. It now renders a <kbd> element.

On this page