Sort

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-sort

About this component

Eight glossy bars, short coral to tall violet, sort themselves pass by pass, the bar moving right lifting over its neighbour at each swap. A glint runs up the finished ramp, then they shuffle back and sort again.

Triggers

  • Loop
  • Delay stagger
  • Gradient
  • Keyframe

Techniques

  • Keyframes
  • CSS variables
  • Gradient
  • Pseudo elements
  • Transform only

Difficulty

Advanced

Accessibility

Keyboard and screen readers

The root has role="status" and aria-label "Sorting"; the bars are aria-hidden.

Reduced motion

The bars rest in sorted order.

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

More loaders

See all
SparkleGet code
SubpixelGet code
Tie-dyeGet code
ArgonGet code