Marble

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-marble

About this component

A clear glass marble with a point of coloured light circling it: as the light passes behind, the marble shows it upside down and moving the wrong way, the way a ball lens really does, and focuses a small spot of its colour onto the floor.

Triggers

  • Loop
  • Continuous
  • Glow

Techniques

  • Keyframes
  • @property
  • Radial gradient
  • Filter

Difficulty

Advanced

Accessibility

Keyboard and screen readers

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

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
SuncatcherGet code
BowlingGet code
BrailleGet code
BuntingGet code