Yarn

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-yarn

About this component

A ball of yarn rolls away, paying out its thread and shrinking as it goes, then rolls back and winds itself up again.

Dependencies
None
Difficulty
Intermediate
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers2

  • Continuous
  • Loop

Techniques3

  • SVG
  • Keyframes
  • Transform only

Accessibility

Keyboard and screen readers

The root has role="status" and aria-label="Loading"; the drawing inside it is aria-hidden.

Reduced motion

The full ball rests by its loose end.

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

More loaders

See all
AsteriskGet code
BlindsGet code
BowlGet code
BubbleGet code