Skip to Content
šŸŽ‰Introducing Pumki UI
AnimationsSparkles

Sparkles

Pumki UIPumki UI

Installation

Usage


import { SparklesCore } from '@/components/pumki-ui/animations/sparkles.tsx';

<SparklesCore />

Props

PropTypeDefaultDescription
idstringauto-generatedUnique ID for the particles container.
classNamestring-Custom CSS classes for the wrapper div.
backgroundstring#0d47a1Background color of the animation.
particleSizenumber-Size of the particles (overrides min/max).
minSizenumber1Minimum particle size.
maxSizenumber3Maximum particle size.
speednumber4Speed of the opacity animation.
particleColorstring#ffffffColor of the particles.
particleDensitynumber120Number of particles rendered.
Last updated on