Ali Imam

Particle Animation

Component 216

About

he component includes all styling inline and maintains the interactive mouse/touch controls that adjust the animation progress based on cursor position around the circular path.

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

Code

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

Usage.tsx

import { ParticleAnimation } from "@/components/ui/particle-animation";

export default function DemoOne() {
  return (
        <div className="relative flex h-[650px] w-full flex-col items-center justify-center overflow-hidden">

      <span className="pointer-events-none z-10 whitespace-pre-wrap absolute text-center text-7xl font-semibold leading-none tracking-tighter">
        Particle Animation
      </span>
      <ParticleAnimation />
    </div>
  );
} 

More by Ali Imam

View all
  • Liquid Glass Button

    Liquid Glass Button

    6.6K
  • Shader Animation

    Shader Animation

    3.7K
  • WebGL Shader

    WebGL Shader

    2.6K
  • Shader Lines

    Shader Lines

    2.3K
  • Shiny Button

    Shiny Button

    2.2K
  • GLSL Hills

    GLSL Hills

    2.1K
  • Canvas

    Canvas

    1.8K
  • Glowing Shadow

    Glowing Shadow

    1.5K