Black Friday: 30% off Pro

Get 30% off

Updated

Pixel Bot

Pro

Preview

Customize

smile
16px

Installation

Pro

Pixel Bot is a Pro component

Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.

Install with a key

  1. Add the Pro registry to components.json:
    components.json
    {
      "registries": {
        "@uibrik-pro": {
          "url": "https://uibrik.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/pixel-bot

Usage

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="…"/>

Where to use Pixel Bot

  • AI assistant avatars

    A tiny pixel face with animated expressions gives a chatbot personality.

    Pairs with AI Blob

  • Chat empty states

    Cycling expressions keep an empty chat from feeling dead.

    Pairs with Streaming Chat

  • Retro tech brands

    Pixel art suits developer tools and game-adjacent products.

Props

PixelGrid
cellSizeClassName
Type "size-3" | "size-4" | "size-5" | "size-6"
"size-4"
Size class of one pixel.
framesrequired
Type readonly AnimatedFrame[]
–
Frames to play, e.g. PIXEL_PATTERNS.smile.
activeClassName
Type string
"bg-zinc-900 dark:bg-zinc-100"
Classes for lit pixels.
inactiveClassName
Type string
"bg-zinc-200 dark:bg-zinc-800"
Classes for unlit pixels.