1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. sunui
  3. Motion Principles

Motion Principles

block

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"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • framer-motion
  • utils
components/motion-principles.tsx