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

    163
  • QR Code

    QR Code

    140
  • FAQ Section

    FAQ Section

    98
  • Animated Border

    Animated Border

    86
  • Warp Gradient

    Warp Gradient

    71
  • Corner Frame

    Corner Frame

    71
  • Wave Text

    Wave Text

    63
  • Spotlight

    Spotlight

    51

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    975
  • Dark Gradient Background

    Dark Gradient Background

    169
  • Background snippets

    Background snippets

    25
  • Background Components

    Background Components

    254
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    643
  • Honey Ember Background

    Honey Ember Background

    104
  • Gradient Backgrounds

    Gradient Backgrounds

    28
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    263