Orbit Particles
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-orbit-particlesAbout this component
On hover, 6 dots orbit the button in a continuous circle via CSS keyframes. Each dot shares a single rotate→translateX→counter-rotate keyframe; staggered negative animation-delay offsets each dot to an evenly-spaced starting position. The lead dot is slightly larger.
Triggers
- Hover
- Continuous
- Ambient
Techniques
- Keyframes
- Stagger
Difficulty
Intermediate
Accessibility
Reduced motion
Orbit animation and particle opacity set to zero under prefers-reduced-motion.
Use it in anything you build, commercial and client work included. Licence