UNPKG

@humanspeak/svelte-motion

Version:

A lightweight animation library for Svelte 5 that provides smooth, hardware-accelerated animations. Features include spring physics, custom easing, and fluid transitions. Built on top of the motion library, it offers a simple API for creating complex anim

12 lines (11 loc) 430 B
import type { MotionProps } from '../types.js'; import { type Snippet } from 'svelte'; import type { SvelteHTMLElements } from 'svelte/elements'; type Props = MotionProps & { children?: Snippet; tag: keyof SvelteHTMLElements; [key: string]: unknown; }; declare const MotionContainer: import("svelte").Component<Props, {}, "">; type MotionContainer = ReturnType<typeof MotionContainer>; export default MotionContainer;