Ali Imam

Fire Ball

Component 54

About

Fire ball mouse pointer action with props

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

Code

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

Usage.tsx

import { FireBall } from "@/components/ui/fire-ball";

const settings = {
  particleCount: 50,
  followStrength: 0.2,
  blobRadius: 8,
  blur: 4,
  useXorComposite: true,
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen">
      <FireBall
        fullScreen={false}
        particleCount={s.particleCount}
        followStrength={s.followStrength}
        blobRadius={s.blobRadius}
        blur={s.blur}
        useXorComposite={s.useXorComposite}
      />
    </div>
  );
}

More by Ali Imam

View all
  • Liquid Glass Button

    Liquid Glass Button

    6.7K
  • 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