Sunflower

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-sunflower

About this component

Forty-eight dots laid out the way seeds pack in a sunflower head (each turned by the golden angle and pushed out by the square root of its index), with a wave of light pulsing out from the centre as the head turns slowly. The layout is CSS maths on one index per dot. Pure CSS.

Triggers

  • Continuous
  • Loop
  • Delay stagger
  • Ambient

Techniques

  • CSS variables
  • Keyframes
  • Stagger

Difficulty

Advanced

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
TerminalGet code
TumbleGet code
Bounce DotsGet code
Bouncing BallGet code