# Solder — Animated Navigation for React

> Gooey tabs whose active indicator is a bead of liquid chrome: on selection it stretches toward the target through an SVG gooey filter like mercury, the connective neck thins and breaks with silver droplets that fall and dim, then the bead settles to dark chrome with a metallic sheen and mirror-bright core. Full tablist semantics with arrow-key navigation.

- Page: https://crucibleui.com/components/navigation/solder
- 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/solder
```

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

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

## Props (`SolderProps`)

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `items?` | `SolderItem[]` | `a small generic set` | Tabs to render, in order. |
| `value?` | `string` | — | Controlled active tab value. |
| `defaultValue?` | `string` | `first enabled item` | Initial active tab value when uncontrolled. |
| `onValueChange?` | `(value: string) => void` | — | Fires whenever the active tab changes, controlled or not. |
| `viscosity?` | `number` | `0.55` | 0–1: how thick the solder runs. Higher = slower, heavier travel, a gooier neck, and droplets that cling longer before falling. |
| `droplets?` | `number` | `2` | Number of glowing droplets shed when the neck breaks (0–3). |
| `colors?` | `{ /** Mirror-bright center of the liquid blob. @default "#ffffff" */ core?: string; /** Liquid-metal body. @default "#c8cdd6" */ molten?: string; /** Darker meniscus edge. @default "#6f7683" */ edge?: string; /** Sheen on the settled bead. @default "#aab2bf" */ sheen?: string; }` | — | Palette of the melt. |

Also accepts: `Omit<React.ComponentPropsWithoutRef<"div">, "onChange">`.

## Usage example

```tsx
import { Solder } from "@/components/crucible/solder";

const ITEMS = [
  {
    value: "overview",
    label: "Overview",
    content: (
      <p className="text-sm leading-relaxed text-white/60">
        A single place to see how everything is going — highlights, recent
        activity, and what needs attention next.
      </p>
    ),
  },
  {
    value: "activity",
    label: "Activity",
    content: (
      <p className="text-sm leading-relaxed text-white/60">
        A running feed of changes across the workspace, newest first, with
        filters for people and projects.
      </p>
    ),
  },
  {
    value: "projects",
    label: "Projects",
    content: (
      <p className="text-sm leading-relaxed text-white/60">
        Every project at a glance — status, owners, and the next milestone on
        each one's timeline.
      </p>
    ),
  },
  {
    value: "settings",
    label: "Settings",
    content: (
      <p className="text-sm leading-relaxed text-white/60">
        Preferences, integrations, and access controls — everything you can
        tune lives here.
      </p>
    ),
  },
];

export default function SolderDemo() {
  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 w-full max-w-sm flex-col gap-6 px-6">
        <Solder items={ITEMS} defaultValue="activity" />
        <p className="text-center text-sm text-neutral-500">
          Switch tabs — the bead melts, travels, and settles.
        </p>
      </div>
    </div>
  );
}
```

## Accessibility & performance

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