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.

xpert-ai Updated 10 repo stars

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.

xpert-ai/xpert-plugins commit ddaf1a9a91

Frequently asked questions

npx get-skill add xpert-ai/click-spark-2