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

ai-glow-border.

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

№ 02 / 64

ai-gradient-card.

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

№ 03 / 64

animate-presence.

Interactive AnimatePresence animation example using Svelte Motion.

№ 04 / 64

animate-presence-custom.

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

№ 05 / 64

animated-button.

Interactive animated button animation example using Svelte Motion.

№ 06 / 64

animated-tabs.

Interactive animated tabs animation example using Svelte Motion.

№ 07 / 64

arc.

Curved motion paths with transition.path — keyframes, rotation, and shared layout.

№ 08 / 64

armed-buttons.

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

№ 09 / 64

characters-remaining.

Interactive characters remaining animation example using Svelte Motion.

№ 10 / 64

color-interpolation.

Interactive color interpolation animation example using Svelte Motion.

№ 11 / 64

conic-gradient.

Interactive conic gradient animation example using Svelte Motion.

№ 12 / 64

drag-constraints.

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

№ 13 / 64

drag-transforms.

Drag translation composed with authored rotate, skew, perspective, and whileDrag transform channels.

№ 14 / 64

fancy-like-button.

Interactive fancy like button animation example using Svelte Motion.

№ 15 / 64

grid-exit.

Complete a card out of a CSS grid — the exit fades in place while surviving cards FLIP into the freed slot.

№ 16 / 64

hover-and-tap.

Interactive hover and tap animation example using Svelte Motion.

№ 17 / 64

html-content.

Interactive html content animation example using Svelte Motion.

№ 18 / 64

keyframes.

Interactive Keyframes animation example using Svelte Motion.

№ 19 / 64

layout-dependency.

Interactive layout dependency animation example

№ 20 / 64

layout-group.

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

№ 21 / 64

layout-scroll.

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

№ 22 / 64

lazy-motion.

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

№ 23 / 64

mobile-drawer.

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

№ 24 / 64

motion-path.

Interactive motion path animation example using Svelte Motion.

№ 25 / 64

motion-value-children.

Render MotionValue values as live text in motion elements.

№ 26 / 64

multi-state-badge.

Interactive multi-state badge animation example using Svelte Motion.

№ 27 / 64

notifications-stack.

Interactive notifications stack animation example using Svelte Motion.

№ 28 / 64

object-style-motion-values.

Interactive object style motion values animation example

№ 29 / 64

optimized-appear.

Start SSR appear animations before Svelte hydrates the motion runtime.

№ 30 / 64

pan.

Interactive pan animation example

№ 31 / 64

path-morphing.

Interactive path morphing animation example using Svelte Motion.

№ 32 / 64

reorder.

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

№ 33 / 64

reordering.

Interactive Reordering animation example using Svelte Motion.

№ 34 / 64

rotate.

Interactive Rotate animation example using Svelte Motion.

№ 35 / 64

scoped-motion-classes.

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

№ 36 / 64

scroll-progress.

Interactive scroll progress animation example using Svelte Motion.

№ 37 / 64

shared-layout-animation.

Interactive shared layout animation example using Svelte Motion.

№ 38 / 64

style-string.

Interactive styleString animation example using Svelte Motion.

№ 39 / 64

svg-animation.

Drive SVG attributes with MotionValues, then launch the luminous Signal Dock and inspect exact accelerated final-style telemetry.

№ 40 / 64

tab-select.

Interactive tab select animation example using Svelte Motion.

№ 41 / 64

toggle-switch.

Interactive toggle switch animation example using Svelte Motion.

№ 42 / 64

transform-template.

Interactive transform template animation example

№ 43 / 64

use-animate.

Interactive useAnimate animation example using Svelte Motion.

№ 44 / 64

use-animation-controls.

Coordinate motion components from a shared imperative controller.

№ 45 / 64

use-animation-frame.

Interactive useAnimationFrame animation example using Svelte Motion.

№ 46 / 64

use-cycle.

Interactive useCycle animation example using Svelte Motion.

№ 47 / 64

use-follow-value.

Interactive use follow value animation example

№ 48 / 64

use-in-view.

Interactive useInView animation example using Svelte Motion.

№ 49 / 64

use-presence.

Interactive usePresence animation example using Svelte Motion.

№ 50 / 64

use-presence-data.

Read AnimatePresence custom data from an entering or exiting child.

№ 51 / 64

use-reduced-motion.

Interactive useReducedMotion animation example using Svelte Motion.

№ 52 / 64

use-reduced-motion-config.

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

№ 53 / 64

use-time.

Interactive useTime animation example using Svelte Motion.

№ 54 / 64

use-time-synced.

Interactive useTime (synced) animation example using Svelte Motion.

№ 55 / 64

use-will-change.

Interactive use will change animation example

№ 56 / 64

vanilla-values.

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

№ 57 / 64

variants-basic.

Interactive variants basic animation example using Svelte Motion.

№ 58 / 64

variants-dynamic.

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

№ 59 / 64

variants-propagation.

Interactive variants propagation animation example using Svelte Motion.

№ 60 / 64

variants-while-hover.

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

№ 61 / 64

velocity-interrupts.

Interrupt a gesture spring mid-flight and momentum carries — position and velocity both ride the same MotionValue into the next animation.

№ 62 / 64

view.

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

№ 63 / 64

while-focus.

Interactive while focus animation example using Svelte Motion.

№ 64 / 64

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