Sparkle
Markup where the component goes, CSS in your stylesheet. No JavaScript.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/loader-sparkleAbout 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