@humanspeak/svelte-motion
Version:
Framer Motion for Svelte 5. Declarative motion.<tag> components with AnimatePresence exit animations, gestures (hover, tap, drag, focus, in-view), variants, FLIP layout animations, shared-layout transitions, spring physics, and scroll-linked motion values
10 lines (9 loc) • 341 B
TypeScript
import type { MotionComponents } from './html/index';
/**
* Lazy motion component namespace used with `<LazyMotion>`.
*
* The namespace mirrors the default `motion` object API (`m.div`, `m.button`,
* `m.svg`, etc.) while reading feature availability from the nearest
* LazyMotion provider.
*/
export declare const m: MotionComponents;