Spark

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-spark-orb

About this component

A round black glass orb holding two sparkles, for an AI action: hover turns the sparkles and makes them twinkle; a press bursts six specks of light out of the glass with a ring.

Triggers

  • Hover
  • Click
  • Icon

Techniques

  • Keyframes
  • Radial gradient
  • SVG
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native <button> named by aria-label ("Generate with AI"); the sparkles and specks are aria-hidden.

Reduced motion

The transitions and loops stop and the component jumps straight to its final state.

Use it in anything you build, commercial and client work included. Licence

More buttons

See all
HaloGet code
BrickGet code
BuzzerGet code
ChampagneGet code