# Pixel Bot (Pro)

> A tiny pixel face that cycles through animated expressions.

## 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/pixel-bot |
| Writes | 1 file into `components/uibrik/pixel-bot/` |
| 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/pixel-bot
```

No license yet? Tell the user Pixel Bot is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=pixel-bot#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 { PixelGrid } from "@/components/uibrik/pixel-bot/pixel-grid";

<PixelGrid
  frames={PIXEL_PATTERNS.smile}
  cellSizeClassName="size-4"
  inactiveClassName="bg-zinc-200 dark:bg-zinc-800"
  // activeClassName="…"
/>
```

## Tune it

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

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `cellSizeClassName` | `"size-3" \| "size-4" \| "size-5" \| "size-6"` | `"size-4"` | Size class of one pixel. |

## Wire it

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

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `frames` (required) | `readonly AnimatedFrame[]` |  | Frames to play, e.g. PIXEL_PATTERNS.smile. |
| `activeClassName` | `string` | `"bg-zinc-900 dark:bg-zinc-100"` | Classes for lit pixels. |
| `inactiveClassName` | `string` | `"bg-zinc-200 dark:bg-zinc-800"` | Classes for unlit pixels. |

## Where it fits

- **AI assistant avatars**: A tiny pixel face with animated expressions gives a chatbot personality. Pairs with [AI Blob](https://uibrik.com/components/ai-blob.md) (Pro).
- **Chat empty states**: Cycling expressions keep an empty chat from feeling dead. Pairs with [Streaming Chat](https://uibrik.com/components/streaming-chat.md) (Pro).
- **Retro tech brands**: Pixel art suits developer tools and game-adjacent products.

## 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.
- [Siri Orb](https://uibrik.com/components/siri-orb.md) (Pro): A glass assistant orb, black above and clear below, holding a twisting helix of light that splits into colour at the rim and winds wider while listening.
- [Tool Call](https://uibrik.com/components/tool-call.md) (Pro): A card for one function call made by an AI model: a ring spins round its icon while in flight, the tile turns green when it lands, input and output sit in one panel with coloured JSON, and a failure shakes once and offers Retry.
- [Agent Island](https://uibrik.com/components/agent-island.md) (Pro): A live status pill for AI coding agents that springs open into a card: each agent's dot flies into its own row, with the branch, usage, and permission requests you can approve in place.
- [AI Blob](https://uibrik.com/components/ai-blob.md) (Pro): A 3D dotted orb for AI states. Click to morph between five shapes.
- [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.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/pixel-bot/` 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
