FIG-001 · EXAMPLES INDEX
// examples / live demos

examples.

Interactive animation demos built with @humanspeak/svelte-motion — spring physics, gestures, layout animations, exit animations, and scroll-linked motion. Pick a card, edit, ship.

FIG-001
SHEET 01 / 02
FIG-002 / DEMOS

pick an example.

Each page is a self-contained, copy-pasteable demo with the source you need.

№ 01 / 47

animate-presence.

Interactive AnimatePresence animation example using Svelte Motion.

№ 02 / 47

animate-presence-custom.

Directional exit animations powered by AnimatePresence custom data and dynamic variants.

№ 03 / 47

animated-button.

Interactive animated button animation example using Svelte Motion.

№ 04 / 47

animated-tabs.

Interactive animated tabs animation example using Svelte Motion.

№ 05 / 47

characters-remaining.

Interactive characters remaining animation example using Svelte Motion.

№ 06 / 47

color-interpolation.

Interactive color interpolation animation example using Svelte Motion.

№ 07 / 47

conic-gradient.

Interactive conic gradient animation example using Svelte Motion.

№ 08 / 47

fancy-like-button.

Interactive fancy like button animation example using Svelte Motion.

№ 09 / 47

hover-and-tap.

Interactive hover and tap animation example using Svelte Motion.

№ 10 / 47

html-content.

Interactive html content animation example using Svelte Motion.

№ 11 / 47

keyframes.

Interactive Keyframes animation example using Svelte Motion.

№ 12 / 47

layout-group.

Scope shared-layout animations to a subtree so sibling regions reusing the same layoutId animate independently.

№ 13 / 47

layout-scroll.

Keep FLIP layout animations anchored when the parent container scrolls mid-animation.

№ 14 / 47

lazy-motion.

Load Svelte Motion feature bundles with LazyMotion and the m namespace.

№ 15 / 47

motion-path.

Interactive motion path animation example using Svelte Motion.

№ 16 / 47

motion-value-children.

Render MotionValue values as live text in motion elements.

№ 17 / 47

multi-state-badge.

Interactive multi-state badge animation example using Svelte Motion.

№ 18 / 47

notifications-stack.

Interactive notifications stack animation example using Svelte Motion.

№ 19 / 47

object-style-motion-values.

Interactive object style motion values animation example

№ 20 / 47

optimized-appear.

Start SSR appear animations before Svelte hydrates the motion runtime.

№ 21 / 47

pan.

Interactive pan animation example

№ 22 / 47

path-morphing.

Interactive path morphing animation example using Svelte Motion.

№ 23 / 47

reordering.

Interactive Reordering animation example using Svelte Motion.

№ 24 / 47

rotate.

Interactive Rotate animation example using Svelte Motion.

№ 25 / 47

scroll-progress.

Interactive scroll progress animation example using Svelte Motion.

№ 26 / 47

shared-layout-animation.

Interactive shared layout animation example using Svelte Motion.

№ 27 / 47

style-string.

Interactive styleString animation example using Svelte Motion.

№ 28 / 47

tab-select.

Interactive tab select animation example using Svelte Motion.

№ 29 / 47

toggle-switch.

Interactive toggle switch animation example using Svelte Motion.

№ 30 / 47

use-animate.

Interactive useAnimate animation example using Svelte Motion.

№ 31 / 47

use-animation-controls.

Coordinate motion components from a shared imperative controller.

№ 32 / 47

use-animation-frame.

Interactive useAnimationFrame animation example using Svelte Motion.

№ 33 / 47

use-cycle.

Interactive useCycle animation example using Svelte Motion.

№ 34 / 47

use-follow-value.

Interactive use follow value animation example

№ 35 / 47

use-in-view.

Interactive useInView animation example using Svelte Motion.

№ 36 / 47

use-presence.

Interactive usePresence animation example using Svelte Motion.

№ 37 / 47

use-presence-data.

Read AnimatePresence custom data from an entering or exiting child.

№ 38 / 47

use-reduced-motion.

Interactive useReducedMotion animation example using Svelte Motion.

№ 39 / 47

use-reduced-motion-config.

Resolve the active reduced-motion policy by combining a parent <MotionConfig> override with the OS preference.

№ 40 / 47

use-time.

Interactive useTime animation example using Svelte Motion.

№ 41 / 47

use-time-synced.

Interactive useTime (synced) animation example using Svelte Motion.

№ 42 / 47

variants-basic.

Interactive variants basic animation example using Svelte Motion.

№ 43 / 47

variants-dynamic.

Per-instance variants — function-form factories receive the custom prop, driving staggered index-based delays.

№ 44 / 47

variants-propagation.

Interactive variants propagation animation example using Svelte Motion.

№ 45 / 47

variants-while-hover.

Pass a variant key (or array) to whileHover, whileTap, whileFocus, whileDrag, or whileInView to reuse named states across gestures.

№ 46 / 47

while-focus.

Interactive while focus animation example using Svelte Motion.

№ 47 / 47

while-in-view.

Interactive while in view animation example using Svelte Motion.

SET / JETBRAINS MONO + INTER
HUMANSPEAK · 2026
MIT LICENCE
try
animate-presencegesture + exit animations
SHEET 02 / 02
END OF INDEX
↩ HOME