uicapsule

Spinner Pixel Grid

Component 12

About

An animated pixel-grid loading spinner with 20+ motion variants, square or circle dots, optional neon glow and rainbow hue cycling.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Spinner Pixel Grid to your project and fits it to your theme.

Code

How Spinner Pixel Grid is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { SpinnerPixelGrid } from "@/components/ui/spinner-pixel-grid";

const settings = {
  size: 20,
  gridSize: 5,
  variant: "spiral",
  shape: "circle",
  glow: true,
  speed: 1,
  rainbow: false,
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="flex h-screen w-screen items-center justify-center text-foreground">
      <SpinnerPixelGrid
        size={s.size}
        gridSize={s.gridSize}
        variant={s.variant as any}
        shape={s.shape as any}
        glow={s.glow}
        speed={s.speed}
        rainbow={s.rainbow}
      />
    </div>
  );
}

More by uicapsule

View all
  • Gradient Orb

    Gradient Orb

    508
  • Background Pixel Stars

    Background Pixel Stars

    342
  • Geometric Orb

    Geometric Orb

    125
  • Background Shapes

    Background Shapes

    110
  • Formation

    Formation

    94
  • Voice Dictator

    Voice Dictator

    87
  • Infinite Grid

    Infinite Grid

    34
  • ASCII Renderer

    ASCII Renderer

    16