Ali Imam

Particle TextEffect

Text 25

About

You can customize the text by passing a `text` prop, and clicking anywhere will restart the mesmerizing animation.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Particle TextEffect to your project and fits it to your theme.

Code

How Particle TextEffect is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

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>
  )
}