Elliot Sutton

Bubble Background

Backgrounds 92

About

An interactive animated background of smoothly morphing gradient bubbles that react to the cursor, for playful hero and section backdrops.

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

Code

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

Usage.tsx

import { BubbleBackground } from "@/components/ui/components-backgrounds-bubble";

export default function BubbleBackgroundDemo() {
  return (
    <div className="relative h-screen min-h-[600px] w-full overflow-hidden">
      <BubbleBackground
        interactive
        className="absolute inset-0 flex items-center justify-center"
      />
    </div>
  );
}

Dependencies

More by Elliot Sutton

View all
  • Notification List

    Notification List

    210
  • Scroll Progress

    Scroll Progress

    137
  • Cursor

    Cursor

    126
  • Pin List

    Pin List

    108
  • Radix Dropdown Menu

    Radix Dropdown Menu

    100
  • Flip Button

    Flip Button

    96
  • Avatar Group

    Avatar Group

    83
  • Stars Scrolling Wheel

    Stars Scrolling Wheel

    78

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    811
  • Gradient Backgrounds

    Gradient Backgrounds

    25
  • Jade Sky

    Jade Sky

    85
  • LivingOrigami bg

    LivingOrigami bg

    135
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    536
  • Background snippets

    Background snippets

    14
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    221
  • Gradient Blur Bg

    Gradient Blur Bg

    18