# Kbd

A quiet native keyboard-input label for keys and shortcut hints.

Connect Flood once using [the installation guide](https://flood.md/docs/installation). Then import the components you use; no per-component add command is needed.

## Example

```tsx
"use client";

import { FloodRoot, Kbd } from "@flood-md/react";
import "@flood-md/react/styles.css";

export function Example() {
  return (
    <FloodRoot>
      <Kbd>Ctrl</Kbd> + <Kbd>K</Kbd>
    </FloodRoot>
  );
}
```

## Design notes

- Native kbd markup, not a button or a shortcut handler. The application implements and documents actual bindings.
- Sizes sm/md/lg use relative keycap tokens. Native props/ref target the kbd element. Available in 0.2.4.

## API reference

| Prop | Values | Default |
| --- | --- | --- |
| `size` | `"sm" \| "md" \| "lg"` | `"sm"` |
| `Native HTML props` | `HTMLAttributes<HTMLElement>` | `Forwarded` |
