Subpixel

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-subpixel

About 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

More loaders

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