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 / 60

ai-glow-border.

Recreate the Apple Intelligence wavy glow border — the Siri glow effect — in Svelte with springs, feTurbulence noise, and SVG displacement.

№ 02 / 60

ai-gradient-card.

A rotating conic-gradient border with a masked glow spill, built with useMotionValue, animate, and useMotionTemplate.

№ 03 / 60

animate-presence.

Interactive AnimatePresence animation example using Svelte Motion.

№ 04 / 60

animate-presence-custom.

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

№ 05 / 60

animated-button.

Interactive animated button animation example using Svelte Motion.

№ 06 / 60

animated-tabs.

Interactive animated tabs animation example using Svelte Motion.

№ 07 / 60

armed-buttons.

Production-style archive and delete wait button microinteractions built with Svelte Motion.

№ 08 / 60

characters-remaining.

Interactive characters remaining animation example using Svelte Motion.

№ 09 / 60

color-interpolation.

Interactive color interpolation animation example using Svelte Motion.

№ 10 / 60

conic-gradient.

Interactive conic gradient animation example using Svelte Motion.

№ 11 / 60

drag-constraints.

A polished constrained-drag stage showing elastic overdrag, ref bounds, and spring settling.

№ 12 / 60

fancy-like-button.

Interactive fancy like button animation example using Svelte Motion.

№ 13 / 60

hover-and-tap.

Interactive hover and tap animation example using Svelte Motion.

№ 14 / 60

html-content.

Interactive html content animation example using Svelte Motion.

№ 15 / 60

keyframes.

Interactive Keyframes animation example using Svelte Motion.

№ 16 / 60

layout-dependency.

Interactive layout dependency animation example

№ 17 / 60

layout-group.

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

№ 18 / 60

layout-scroll.

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

№ 19 / 60

lazy-motion.

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

№ 20 / 60

mobile-drawer.

A theme-aware drag-to-close bottom sheet built with drag, a bound y MotionValue, and dragControls.

№ 21 / 60

motion-path.

Interactive motion path animation example using Svelte Motion.

№ 22 / 60

motion-value-children.

Render MotionValue values as live text in motion elements.

№ 23 / 60

multi-state-badge.

Interactive multi-state badge animation example using Svelte Motion.

№ 24 / 60

notifications-stack.

Interactive notifications stack animation example using Svelte Motion.

№ 25 / 60

object-style-motion-values.

Interactive object style motion values animation example

№ 26 / 60

optimized-appear.

Start SSR appear animations before Svelte hydrates the motion runtime.

№ 27 / 60

pan.

Interactive pan animation example

№ 28 / 60

path-morphing.

Interactive path morphing animation example using Svelte Motion.

№ 29 / 60

reorder.

Drag-to-reorder lists with Reorder.Group and Reorder.Item — FLIP siblings and edge auto-scroll.

№ 30 / 60

reordering.

Interactive Reordering animation example using Svelte Motion.

№ 31 / 60

rotate.

Interactive Rotate animation example using Svelte Motion.

№ 32 / 60

scoped-motion-classes.

Keep component-scoped CSS selectors alive when they are passed to motion components.

№ 33 / 60

scroll-progress.

Interactive scroll progress animation example using Svelte Motion.

№ 34 / 60

shared-layout-animation.

Interactive shared layout animation example using Svelte Motion.

№ 35 / 60

style-string.

Interactive styleString animation example using Svelte Motion.

№ 36 / 60

svg-animation.

Interactive svg animation animation example

№ 37 / 60

tab-select.

Interactive tab select animation example using Svelte Motion.

№ 38 / 60

toggle-switch.

Interactive toggle switch animation example using Svelte Motion.

№ 39 / 60

transform-template.

Interactive transform template animation example

№ 40 / 60

use-animate.

Interactive useAnimate animation example using Svelte Motion.

№ 41 / 60

use-animation-controls.

Coordinate motion components from a shared imperative controller.

№ 42 / 60

use-animation-frame.

Interactive useAnimationFrame animation example using Svelte Motion.

№ 43 / 60

use-cycle.

Interactive useCycle animation example using Svelte Motion.

№ 44 / 60

use-follow-value.

Interactive use follow value animation example

№ 45 / 60

use-in-view.

Interactive useInView animation example using Svelte Motion.

№ 46 / 60

use-presence.

Interactive usePresence animation example using Svelte Motion.

№ 47 / 60

use-presence-data.

Read AnimatePresence custom data from an entering or exiting child.

№ 48 / 60

use-reduced-motion.

Interactive useReducedMotion animation example using Svelte Motion.

№ 49 / 60

use-reduced-motion-config.

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

№ 50 / 60

use-time.

Interactive useTime animation example using Svelte Motion.

№ 51 / 60

use-time-synced.

Interactive useTime (synced) animation example using Svelte Motion.

№ 52 / 60

use-will-change.

Interactive use will change animation example

№ 53 / 60

vanilla-values.

Motion values without motion components — runes driving plain elements through styleEffect.

№ 54 / 60

variants-basic.

Interactive variants basic animation example using Svelte Motion.

№ 55 / 60

variants-dynamic.

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

№ 56 / 60

variants-propagation.

Interactive variants propagation animation example using Svelte Motion.

№ 57 / 60

variants-while-hover.

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

№ 58 / 60

view.

Shared-element morphs and enter/exit view layers with animateView and the native View Transitions API.

№ 59 / 60

while-focus.

Interactive while focus animation example using Svelte Motion.

№ 60 / 60

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