Subpixel
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-subpixelAbout this component
A spinner seen through a macro lens on a screen: every pixel is three stripes of red, green and blue, and a comet runs round a ring of them. It is white at the head and cools to pink, magenta and red, with a soft bloom behind the glass.
Triggers
- Loop
- Continuous
- Glow
- Gradient
Techniques
- Conic gradient
- mix-blend-mode
- Keyframes
- CSS variables
- Filter
Difficulty
Advanced
Accessibility
Keyboard and screen readers
The root has role="status" and aria-label "Loading"; the screen is aria-hidden.
Reduced motion
The comet stops part way round the ring.
Use it in anything you build, commercial and client work included. Licence