Eighteen classic animation principles as one wrapper that animates any child, such as an icon, badge, button or product image: burst, easing, overshoot, squash and stretch, motion trail, impact shake, anticipation, follow-through, bounce, wiggle, pulse, ping-pong, stop-motion, repeater, kaleidoscope, line boil, exploded view and stagger. Pick one with the effect prop and play it on mount, in view, hover, click or loop, with intensity, duration, distance, count and color to tune it. Named easing curves, Stagger, ExplodedView, Repeater and Kaleidoscope are exported too. Loops pause off screen and in hidden tabs, and reduced motion shows the child at rest.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/motion-principles.json"