amankaushik481

Particles

Heroes

About

A canvas background of drifting particles that part around the pointer (or gather toward it), colored from your theme's accent, for livening up a hero or CTA panel.

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

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

export default function ParticlesDemo() {
  return (
    <Particles className="h-screen w-full" quantity={140} mode="attract" />
  );
}

Dependencies

More by amankaushik481

View all
  • Chip Filter

    Chip Filter

    7
  • Icon Button

    Icon Button

    4
  • Emoji Picker

    Emoji Picker

    4
  • Morphing Text

    Morphing Text

    2
  • Product Card

    Product Card

  • Floating Label Input

    Floating Label Input

  • Link Preview

    Link Preview

  • Relative Time

    Relative Time

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero Section 01

    Hero Section 01

    56
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Hero

    Hero

    1.4K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Split Hero With Image Cards

    Split Hero With Image Cards

    466
  • Facts Hero

    Facts Hero

    6