UNPKG

@omicrxn/mercury

Version:

Mercury is a Svelte animation library powered by Motion. It simplifies complex animations with Svelte actions, provides layout and exit animations, and integrates seamlessly with Svelte features.

3 lines (2 loc) 164 B
import type { AnimationParams } from './animation-interface.js'; export declare const mercury: (options?: AnimationParams) => (element: HTMLElement) => () => void;