Top

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-top

About this component

A striped spinning top balanced on its point, lit from above: it spins fast, its axis leaning and slowly circling as it precesses, while its shadow swings round underneath it.

Triggers

  • Continuous
  • Loop
  • 3D

Techniques

  • requestAnimationFrame
  • 3D transform
  • Perspective

Difficulty

Advanced

Accessibility

Keyboard and screen readers

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

Reduced motion

It draws one still frame and stops.

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

More loaders

See all
BowlingGet code
BrailleGet code
BuntingGet code
Drinking birdGet code