# Bellows — Animated Navigation for React

> A dock whose icons magnify under the cursor with wave falloff to neighbors on spring physics — the swelling icon brightens with a soft white glow, neighbors catch a dimmer silver spill, and a soft reflection tracks the cursor across the plate. Keyboard focus magnifies like hover; coarse pointers get plain tap targets.

- Page: https://crucibleui.com/components/navigation/bellows
- Category: [navigation](https://crucibleui.com/components/navigation)
- Tier: pro (one-time purchase, see https://crucibleui.com/pricing)
- Engine: motion
- npm dependencies: motion

## Install

```bash
npx shadcn@latest add @crucible/bellows
```

Pro install requires adding the token-bearing `@crucible` registry to components.json (issued at https://crucibleui.com/account after purchase).

Import from `@/components/crucible/bellows`.

## Props (`BellowsProps`)

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `items?` | `BellowsItem[]` | `a small generic set` | Dock items. |
| `size?` | `number` | `44` | Resting cell size in px. |
| `magnification?` | `number` | `1.9` | Peak scale multiplier for the cell directly under the cursor. |
| `distance?` | `number` | `140` | Pixel radius of the magnify wave — how far the swell spills into neighbors. |
| `spring?` | `{ stiffness?: number; damping?: number; mass?: number }` | — | Spring physics for cell growth. |
| `heat?` | `number` | `0.85` | 0–1: scales glow strength and the plate reflection together. |
| `colors?` | `[string, string]` | — | `[spill, peak]` — the dim neighbor-spill color and the bright peak color. |

Also accepts: `React.ComponentPropsWithoutRef<"nav">`.

## Usage example

```tsx
import { Bellows } from "@/components/crucible/bellows";

export default function BellowsDemo() {
  return (
    <div className="relative isolate flex h-full min-h-[360px] w-full items-center justify-center overflow-hidden rounded-xl bg-neutral-950">
      <div
        aria-hidden
        className="pointer-events-none absolute inset-0 bg-[radial-gradient(ellipse_at_center,rgba(255,255,255,0.035),transparent_70%)]"
      />
      <div className="relative z-10 flex flex-col items-center gap-10 px-6 pt-4 text-center">
        <div className="flex flex-col items-center gap-3">
          <p className="text-3xl font-semibold tracking-tight text-white">Sweep the dock</p>
          <p className="max-w-sm text-sm text-neutral-500">
            Icons swell under the cursor — Tab through and focus magnifies just like hover.
          </p>
        </div>
        <Bellows />
      </div>
    </div>
  );
}
```

## Accessibility & performance

Honors `prefers-reduced-motion` with a designed static frame or fade (never a blank box) and passes `className` through.
