kevingirelli

Particles

Backgrounds

About

A field of small dots that drift slowly upward or downward across a surface, built from CSS animations seeded so server and client render the same scatter.

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

Code

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

Usage.tsx

"use client";

import { Particles } from "@/components/ui/particles";

export default function ParticlesDemo() {
  return (
    <div className="relative isolate grid h-64 w-full place-items-center overflow-hidden rounded-lg bg-card">
      <Particles count={40} className="text-primary/60" />
      <p className="font-display text-3xl">Embers</p>
    </div>
  );
}

More by kevingirelli

View all
  • Aurora

    Aurora

    54
  • Warp Gradient

    Warp Gradient

    48
  • FAQ Section

    FAQ Section

    46
  • QR Code

    QR Code

    46
  • Wave Text

    Wave Text

    37
  • Corner Frame

    Corner Frame

    36
  • Animated Border

    Animated Border

    32
  • Spotlight

    Spotlight

    23

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    811
  • Gradient Backgrounds

    Gradient Backgrounds

    25
  • Jade Sky

    Jade Sky

    85
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    221
  • Background snippets

    Background snippets

    16
  • Gradient Blur Bg

    Gradient Blur Bg

    34
  • Background Components

    Background Components

    233
  • LivingOrigami bg

    LivingOrigami bg

    134