Chroma
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-chromaAbout this component
Paper chromatography: three strips of filter paper hang in a glass tank of solvent. The solvent creeps up and pulls each ink dot apart into its colours, gold racing ahead with pink and blue behind, then the strips dry and it runs again.
Triggers
- Loop
- Fill
- Gradient
- Delay stagger
Techniques
- Keyframes
- Radial gradient
- CSS variables
- Transform only
- Gradient
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
The root has role="status" and aria-label "Loading"; the drawing is aria-hidden.
Reduced motion
It pauses with the bands separated.
Use it in anything you build, commercial and client work included. Licence