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

6 lines (5 loc) 297 B
import MotionConfig from './components/MotionConfig.svelte'; import * as html from './html/index.js'; // Create the motion object with all components export const motion = Object.fromEntries(Object.entries(html).map(([key, component]) => [key.toLowerCase(), component])); export { MotionConfig };