UNPKG

@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

9 lines (8 loc) 327 B
import type { Snippet } from 'svelte'; import type { MotionConfigProps } from '../types'; type $$ComponentProps = MotionConfigProps & { children?: Snippet; }; declare const MotionConfig: import("svelte").Component<$$ComponentProps, {}, "">; type MotionConfig = ReturnType<typeof MotionConfig>; export default MotionConfig;