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

11 lines (10 loc) 386 B
/** * Set of void HTML tag names that cannot contain children. * * These tags are treated specially by motion components to prevent * rendering `children` content and to avoid hydration edge cases. * * Source: HTML Living Standard — list of void elements. * @see https://html.spec.whatwg.org/multipage/syntax.html#void-elements */ export declare const VOID_TAGS: Set<string>;