Components
Loading preview...
You can customize the text by passing a `text` prop, and clicking anywhere will restart the mesmerizing animation.
npx shadcn@latest add https://21st.dev/r/designali-in/particle-text-effectimport { 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>
)
}