terra vidhal

Particle Burst

Component

About

A configurable radial or fountain burst of glowing particles and rings with mixed shapes, wind, gravity and a static halo, fired automatically, on hover, on click or imperatively.

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

Code

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

Usage.tsx

"use client";

/**
 * PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
 */

import { ParticleBurst } from "@/components/ui/particle-burst";

export default function ParticleBurstDemo() {
  return (
    <main className="relative flex min-h-screen items-center justify-center overflow-hidden bg-background px-6">
      <ParticleBurst
        count={96}
        radius={280}
        particleSize={7}
        duration={1.7}
        repeatDelay={0.6}
        stagger={0.014}
        rings={3}
        shapes={["star", "circle", "spark", "square"]}
        gravity={30}
        wind={8}
        glow={1.15}
        showCore
      >
        <h1 className="bg-gradient-to-b from-foreground via-foreground to-foreground/50 bg-clip-text text-7xl font-semibold tracking-[-0.06em] text-transparent sm:text-9xl">
          Burst
        </h1>
      </ParticleBurst>
    </main>
  );
}

Dependencies

More by terra vidhal

View all
  • Topographic Lines

    Topographic Lines

    4
  • Gravity Stars Background

    Gravity Stars Background

    4
  • Spotlight Card

    Spotlight Card

    3
  • Marquee

    Marquee

    2
  • Firework Burst

    Firework Burst

    1
  • Aurora Bubbles

    Aurora Bubbles

    1
  • Glyph Field

    Glyph Field

  • Shimmering Text

    Shimmering Text

Explore more

Part of PrequelUI Animate — browse the full library on 21st.dev.