Components
A 3D interactive particle field rendered with three.js that reacts to mouse movement and supports customizable color, count, and size.
npx @21st-dev/cli add scrollxui/particlesLoading preview...
import { Particles } from "@/components/ui/particles";
export default function ParticlesDemo() {
return (
<div className="relative bg-black w-full h-100 overflow-hidden">
<Particles
color="#ffffff"
particleCount={25000}
particleSize={5}
animate={false}
className="z-0"
/>
</div>
);
}