uicapsule

Background Shapes

Component 118

About

An SVG background that fills a mirrored grid with randomly changing geometric cells (lines, circles, squares) for an animated decorative backdrop.

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

Code

How Background Shapes is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { BackgroundShapes } from "@/components/ui/background-shapes";

const Demo = () => {
  return (
    <div className="flex h-full min-h-[500px] w-full items-center justify-center bg-[#2164D6]">
      <BackgroundShapes width={800} height={500} colors={["white"]} />
    </div>
  );
};

export default Demo;

More by uicapsule

View all
  • Gradient Orb

    Gradient Orb

    566
  • Background Pixel Stars

    Background Pixel Stars

    398
  • Geometric Orb

    Geometric Orb

    144
  • Formation

    Formation

    133
  • Voice Dictator

    Voice Dictator

    101
  • Infinite Grid

    Infinite Grid

    36
  • ASCII Renderer

    ASCII Renderer

    16
  • Screenshot Capture

    Screenshot Capture

    14