Foil

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-foil

About this component

A ring of iridescent film with a fading tail, turning one way while its rainbow slides the other, so the colours never repeat.

Triggers

  • Loop
  • Continuous
  • Gradient

Techniques

  • Conic gradient
  • Radial gradient
  • mix-blend-mode
  • Keyframes

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

The root has role="status" and aria-label "Loading".

Reduced motion

The animation stops and the ring holds a still frame.

Use it in anything you build, commercial and client work included. Licence

More loaders

See all
FrostGet code
GyroGet code
HatchGet code
HemGet code