Components
Loading preview...
The component will use inline styles and include the canvas animation with customizable props.
npx shadcn@latest add https://21st.dev/r/designali-in/particle-canvasimport { ParticleCanvas } from "@/components/ui/particle-canvas";
export default function DemoOne() {
return (
<div className="relative flex h-full w-full flex-col items-center justify-center overflow-hidden">
<ParticleCanvas/>
<span className="pointer-events-none absolute z-10 text-center text-7xl leading-none font-semibold tracking-tighter whitespace-pre-wrap text-white">
Particle Canvas
</span>
</div>
)
}