# AI Blob (Pro)

> A 3D dotted orb for AI states. Click to morph between five shapes.

## Spec sheet

| | |
| --- | --- |
| Access | Pro: installs with a license key ([how Pro works](https://uibrik.com/docs/pro.md)) |
| Shelf | Components › AI |
| Live preview | https://uibrik.com/components/ai-blob |
| Writes | 1 file into `components/uibrik/ai-blob/` |
| Packages | none beyond React |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Nov 18, 2026 |

## Add it

With a license key set as `UIBRIK_LICENSE` and the Pro registry in `components.json` (setup: https://uibrik.com/docs/pro.md):

```bash
npx shadcn@latest add @uibrik-pro/ai-blob
```

No license yet? Tell the user AI Blob is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=ai-blob#pricing. The closest free options are under Same shelf below.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { AIBlob } from "@/components/uibrik/ai-blob/ai-blob";

<AIBlob
  mode="sphere-spiral"
  interactive
  dotCount={50}
  speed={1}
  blinkSpeed={0.3}
  tilt={18}
  color="#141414"
  highlightColor="#141414"
  onModeChange={(mode) => {}}
  // dotSize={0}
/>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/ai-blob.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `mode` | `"sphere-spiral" \| "double-spiral" \| "rings" \| "torus" \| "blob"` | `"sphere-spiral"` | Active 3D variation. |
| `interactive` | `boolean` | `true` | Click cycles through the variations. |
| `dotCount` | `number` | `50` | Number of dots. |
| `speed` | `number` | `1` | Rotation speed multiplier. |
| `blinkSpeed` | `number` | `0.3` | Pulse speed of the travelling dots. 0 disables. |
| `tilt` | `number` | `18` | 3D tilt pitch in degrees. |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `dotSize` | `number \| [number, number]` |  | Dot size, or a [far, near] depth range. |
| `color` | `string` |  | Base dot colour. Falls back to the text colour. |
| `highlightColor` | `string` |  | Colour of the bright travelling dots. |
| `onModeChange` | `(mode) => void` |  | Called when the variation changes. |
| `className` | `string` |  | Size and text colour, e.g. size-28 text-zinc-700. |

## Where it fits

- **Assistant states**: Morphing between five shapes gives idle, listening, thinking and answering each a distinct look users learn quickly. Pairs with [Streaming Chat](https://uibrik.com/components/streaming-chat.md) (Pro).
- **AI product heroes**: A 3D dotted orb gives an AI landing page a focal point that feels alive without needing a product screenshot. Pairs with [Aurora](https://uibrik.com/components/aurora.md).
- **Waiting for a model**: Swapping a spinner for the orb's thinking shape makes generation time feel like work in progress rather than a stall. Pairs with [Loading Shimmer](https://uibrik.com/components/loading-shimmer.md).

## Same shelf: AI

- [Prompt Input](https://uibrik.com/components/prompt-input.md): An AI prompt box that grows as you type, with file attachments, a model picker, slash commands, @mentions, a send button that turns into stop, and voice dictation whose words settle in as they are heard.
- [AI Mascot](https://uibrik.com/components/ai-mascot.md) (Pro): A minimal 3D mascot for AI products, rendered in three.js with flat illustration shading: just a round body and two eyes. It listens, thinks, speaks, celebrates, fails and sleeps, blending smoothly between states, and takes any shape, material, colour and eye style, with six presets.
- [AI Orb](https://uibrik.com/components/ai-orb.md) (Pro): A glass assistant orb filled with a living mesh gradient of shades that rests, listens, thinks and speaks, reacting to a live voice level.
- [Context Meter](https://uibrik.com/components/context-meter.md) (Pro): How full an AI model's context window is: a pill whose ring grows as it opens into a breakdown card, with springing arcs and bars, rolling digits, a glow on each new message's tokens, hover to isolate a source, and a Compact action that previews what it frees.
- [Diffusion Image](https://uibrik.com/components/diffusion-image.md) (Pro): An AI image request whose picture resolves out of a soft, rippling blur: an SVG turbulence filter and CSS blur ease down with real generation progress, then settle on long ease-out curves to a plain image.
- [Image Generation](https://uibrik.com/components/image-generation.md) (Pro): An AI image placeholder: a dither field that resolves into the picture.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/ai-blob/` so the import paths keep resolving.
- The source is licensed: never recreate it from the preview or this page.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
