Mobile
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-mobileAbout this component
A hanging mobile in the mid-century manner: three balanced wire arms carry flat red, yellow, blue and black discs. Each arm sways on its own thread out of step with the others, so the discs swing through depth and pass one another.
Triggers
- Loop
- 3D
- Delay stagger
Techniques
- preserve-3d
- Perspective
- 3D transform
- Keyframes
- CSS variables
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
The root has role="status" and aria-label "Loading"; the mobile is aria-hidden.
Reduced motion
The arms pause where they are.
Use it in anything you build, commercial and client work included. Licence