Components
You can customize the text by passing a text prop, and clicking anywhere will restart the mesmerizing animation.
Loading preview...
import { ParticleTextEffect } from "@/components/ui/particle-text-effect";
export default function DemoOne() {
return (
<main >
<ParticleTextEffect
text="21st"
fontSize={50}
fontWeight="bold"
fontFamily="Inter, sans-serif"
tileSize="0.5vmin"
distance="0.7vmin"
/>
</main>
)
}