Click Spark

A quick burst of sparks flies from the point you click — a playful tap accent. Reserve for a delightful primary action; skip on serious/destructive ones. No sparks under prefers-reduced-motion.

Nexu Updated 108k repo stars
motion-anything — Anything becomes motion, on your laptop. Editorial dark banner with light-mode app windows: the component-motion workbench and the launch-vide

File contents

click-spark

Sparks burst from the click point. Dependency-free, reduced-motion safe.

How to apply

Copy click-spark.js; add class click-spark (optional data-spark="#hex"). Auto-attaches.

nexu-io/motion-anything commit ddaf1a9a91

Frequently asked questions

npx get-skill add nexu-io/click-spark