Sweep

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-sweep

About this component

Three bands of light, amber, cyan and magenta, sweep round a bright point like the hands of a clock, each with a soft trail: they fan apart as they turn and line up again at the top on every lap.

Triggers

  • Loop
  • Continuous
  • Glow

Techniques

  • Conic gradient
  • Keyframes
  • Filter
  • CSS variables

Difficulty

Intermediate

Moves on

Its code uses this curve. Open one to see it plotted and tune it.

Accessibility

Keyboard and screen readers

role="status" with aria-label "Loading"; the drawing is decorative (aria-hidden).

Reduced motion

Every animation pauses on its current frame.

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

More loaders

See all
TopGet code
BowlingGet code
BrailleGet code
BuntingGet code