GitHub Stars
Docs
Particles

Particles

A versatile and performant component for creating engaging, animated content displays with smooth infinite scrolling animations. Perfect for showcasing client logos, testimonials, feature highlights, and promotional content with customizable speed, direction, and responsive design.

Particles

Installation

pnpm dlx shadcn@latest add https://badtz-ui.com/r/particles.json

Examples

Stars
Snow

Usage

import { Particles } from "@/components/ui/particles";
<Particles variant="snow" />

Props

particles props.

PropTypeDefaultDescription
classNamestring-Additional CSS classes to apply to the component
variant"default" | "snow" | "stars""default"The visual style of the particles
styleParticleStyleCustom particle styling options
interactivebooleantrueWhether particles should respond to mouse interactions
customOptionsRecordAdditional configuration options for the particles engine

Credits

  • All credits go to tsparticles
  • Previous
    Next