# Kbd

Keyboard hints set apart from the surrounding sentence.

- Family: Content, imported from `mizu-ui` or `mizu-ui/content`
- Docs: https://mizu.user64bit.world/components/kbd
- Source: https://github.com/0xuser64bit/mizu/blob/main/packages/mizu/src/content/Typography.tsx

## Usage

```tsx
import { Kbd } from "mizu-ui";

export function Example() {
  return (
    <p>
      Press <Kbd>⌘</Kbd> + <Kbd>K</Kbd> to open your command palette.
    </p>
  );
}
```

## Copy it with the shadcn CLI

```sh
npx shadcn@latest init 0xuser64bit/mizu/preset # once, where there is no components.json
npx shadcn@latest add 0xuser64bit/mizu/kbd
```

## Props

- `children`: `ReactNode`. Key name or chord.
- `...props`: `HTMLAttributes`. Native kbd attributes.

## Accessibility

Native kbd semantics. This displays a hint; keyboard handlers belong to the associated feature.

## Motion

Static typographic cue.
