Sparkle

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-sparkle

About this component

A thinking loader for AI products: a four-point star filled with a turning gradient of mint, blue, violet and pink takes a quarter turn on every beat, dipping as it turns, while small sparkles wink around it.

Triggers

  • Loop
  • Glow
  • Gradient
  • Keyframe

Techniques

  • clip-path
  • Conic gradient
  • Keyframes
  • Transform only

Difficulty

Beginner

Accessibility

Keyboard and screen readers

The root has role="status" and aria-label "Thinking"; the drawing is aria-hidden.

Reduced motion

The star rests still with its sparkles shown.

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

More loaders

See all
SubpixelGet code
Tie-dyeGet code
ArgonGet code
BauhausGet code