Installation
npx kinetic-ui-cli@latest add Props
Customize particle count, explosion velocity, and particle colors.
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { ParticleExplosionButton } from "@/components/creative/particle-explosion-button";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { ParticleExplosionButton } from "@/components/creative/particle-explosion-button";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<ParticleExplosionButton
particleColor="example"
particleCount{10}
>
<div>Content goes here</div>
</ParticleExplosionButton>
</div>
);
}