Sort
Markup where the component goes, CSS in your stylesheet. No JavaScript.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/loader-sortAbout 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