Click Spark
Click Spark: Cursor particle spark effect that emits directional sparks on click. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Click Spark
npx motion-ui-skill add click-sparkComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxmotionnext-themesreacttailwind-merge
Source files
Click Spark
Component from Motion UI: click-spark
Install
npx motion-ui-skill add click-spark
Dependencies
clsxmotionnext-themesreacttailwind-merge
Usage
"use client";
import { ClickSpark as ClickSpark } from "@/components/craft/click-spark";
export function Example() {
return (
<div className="p-6">
<ClickSpark />
</div>
);
}