Lava

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-lava

About this component

A lava lamp. Blobs of wax drift up from a warm pool at the bottom, stretch, pinch off and melt back into it, merging whenever they touch. The goo is a blur + contrast filter on the layer, so there is no SVG filter or id to collide. Pure CSS.

Triggers

  • Continuous
  • Loop
  • Morph
  • Ambient

Techniques

  • Filter
  • mix-blend-mode
  • Keyframes

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

role="status" with aria-label "Loading" on the wrapper; every drawn part is aria-hidden.

Reduced motion

The animation stops on a still frame.

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

More loaders

See all
RadarGet code
Ring TextGet code
SegmentGet code
SnakeGet code