Report a problem or share feedback← Catalog
Motion presets
curatedtheme-awarefreeoc/motion-presets
design-infra's motion languages (still / quiet / lively / cinematic) as motion/react transitions, springs and variants (fadeUp, scaleIn, stagger, press, lift). Set PROJECT_MOTION to your DESIGN.md `motion:` so hand-written animations match the system.
$
npx shadcn@latest add @design-infra/motion-presetsnpm deps: motion
- Source
- oc
- Kind
- package
- Categories
- transition
- Use as
- recipe — technique you apply to your own markup
- Applies to
- transitionbuttoncardmodaltoasttabs
- Motion
- on enter, press, hover, state · subtle · motion · low cost
- Tags
- oc, lib
- Live demo
- www.owencoonahan.xyz
Similar
Compare all 4 →- Liquid Glass (@samasante/liquid-glass)liquidglass/liquid-glassWrap any styled box in <Glass> (your translucent background is the tint; children stay crisp; optics via the optics prop). True refraction of the live page is Chrome/Edge only (backdrop-filter: url()); Safari/Firefox fall back to frost + tint + edge light. To bend in every browser, give it geometry (size + center) to refract its own children, or refract={copy} / src for images, video and canvas (WebGL). Headless — tint it with your tokens. v0.1.x: pin the version; use one or two lenses per screen and check text contrast over busy backgrounds. React >=18 peer, zero runtime deps, MIT.
- Exit animationmotion/exit-animationAnimatePresence exit: modals, toasts and removed list items animate OUT instead of vanishing. The fix for 'abrupt' close. Free example (motion is MIT); copy and adapt the source from the example page.
- Rolling text buttonmotion/rolling-text-buttonButton whose label rolls to a new word on hover/click — a free alternative to Motion+ text components. Free example (motion is MIT); copy and adapt the source from the example page.