Rainbow
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-rainbowAbout this component
A wooden rainbow stacker turned over as a rocker: seven painted arcs roll from side to side along the table on the outer arc. Each inner arc rocks a beat behind the one outside it, so a wave rolls through the stack.
Triggers
- Loop
- Delay stagger
- Continuous
Techniques
- Keyframes
- Radial gradient
- CSS variables
- Stagger
- Transform only
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
The root has role="status" and aria-label "Loading"; the arcs are aria-hidden.
Reduced motion
The stacker rests level on the table.
Use it in anything you build, commercial and client work included. Licence