Space Particles Animation
A component that renders a Dynamic 3D field of particles in space.
Installation
Usage
1import { Particles } from '@/components/pumki-ui/animations/space-particles';🎨 Particle Asset (Required!)
Download the particle texture for the UI project:
Save it in:
public/assets/particle.png
1<Particles2 color="#fffff"3 particleCount={25000}4 particleSize={5}5 animate={false}6 className="z-0"7 />Props
| Prop | Type | Default | Description |
|---|---|---|---|
color | string | ”#ff3366” | Base color of the particles (HEX). |
particleCount | number | 10000 | Total number of particles rendered. |
particleSize | number | 35 | Size of each individual particle. |
animate | boolean | true | Whether particles animate color transitions. |
className | string | "" | Optional class for the outer container. |
Last updated on