Examples
Production-ready Motion snippets for React, JavaScript, and Vue. Copy them into your site or adapt them with AI.
Spotlight
All examples
Pinch to rotate
Pinch to zoom
Pinch to rotate
Pinch to zoom
Long press
Press and hold to repeat
Double tap to like
Long press
Press and hold to repeat
Double tap to like
AnimateSuspense: Loading comments
AnimateSuspense: Skeleton crossfade
AnimateSuspense: Wait for exit
Gallery: Depth of field
Particle orb
Apple Watch Home Screen
Card stack
Drag
Drag: Constraints
Drag: Lock direction
Drag with spring follow
Sheet Modal
Value transform & path drawing
Typewriter: Change Content
Typewriter: Exploding Countdown
Typewriter: Natural Typing
Stagger from edges
Grid stagger
Stagger in random order
Lenis smooth scroll
Lenis smooth scroll
Svelte: Animate on state change
Svelte: Layout animation
Svelte: View animation
Svelte: Hover
Svelte: Press
Svelte: Scroll progress
Gallery: Showcase
Gallery: Archive
Gallery: Backstage
Gallery: Barrel
Gallery: Cards
Gallery: Coverflow
Gallery: Detail
Gallery: Faces
Gallery: Film
Gallery: Fittings
Gallery: Fruit drinks
Gallery: Grid
Gallery: Helix
Gallery: Ice lollies
Gallery: List
Gallery: Objects
Gallery: Odd lights
Gallery: Odd lights coverflow
Gallery: Playground
Gallery: Presence
Gallery: Reveal
Gallery: Ring
Gallery: Ripple
Gallery: Runway
Gallery: Sphere
Gallery: Stack
Gallery: Tilt
AnimateView: App Store
AnimateView: Clip path
AnimateView: Reorder
AnimateView: Skeleton
AnimateView: Toggle
AnimateView: Transition types
Three.js: Ocarina of Time watercolour
vgpu: Majora’s Mask watercolour
Three.js: Ocarina of Time watercolour
vgpu: Majora’s Mask watercolour
Three.js: Fractal topography
Three.js: TSL particle morph
Three.js: Materials
Three.js: Motion values
Three.js: OrbitControls
Three.js: Scroll-driven logo
Three.js: Sequences and stagger
Three.js: Shader lens
vgpu: Cameras, lights and controls
vgpu: Colours
vgpu: Effect bindings
vgpu: Motion values
vgpu: Orbit
vgpu: Scene nodes
vgpu: Sequences and stagger
vgpu: Shared uniforms
vgpu: Vectors
Reorder grid
Multidimensional reorder
Command Palette
Confetti
Context Menu
Copy Button
Create Button
Dots Morph Button
Floating Action Button
OSS Hero
Mega Menu
Number trend
Pokopia: Modal
Radial Menu
Scramble text
Scramble text: Hover
Scramble text: Stagger from center
Scroll Direction: Hide Header
Scroll Horizontal Gallery
Scroll Text Lines
Scroll velocity: 3D planes
Scroll Zoom Hero
Sheet Modal
Scatter text
Toast: Stacked notifications
Footer reveal
Rolling text button
Rolling text button: Staggered
Scroll word reveal
Now playing
Curtains: Blinds
Curtains: Clip wipe
Curtains: Doors
Curtains: Fade
Curtains: Iris
Curtains: Iris from click
Curtains: Mixed effects
Curtains: Pixels
Curtains: Scope
Curtains: Showcase
Curtains: Shutter
Curtains: Stagger wipe
Curtains: Wipe
Curtains: Blinds
Curtains: Clip wipe
Curtains: Doors
Curtains: Fade
Curtains: Iris
Curtains: Iris from click
Curtains: Mixed effects
Curtains: Pixels
Curtains: Scope
Curtains: Shutter
Curtains: Stagger wipe
Curtains: Wipe
Add to basket
Add to basket
Pointer collision detection
Bobble hover
Clerk: Card Stack
Clerk: Conditional Field
Clerk: Sign-in-or-up
Clerk: User Button
Layout Anchor
Pokopia: Modal
Command Palette
OSS Hero
Skeleton Shimmer
Copy Button
Create Button
Dots Morph Button
Toast: Stacked notifications
Floating Action Button
Radial Menu
Confetti
Sheet Modal
Context Menu
Mega Menu
Number trend
Carousel: iOS exposure slider
iOS App Folder
AnimateView: Clip path
AnimateView: Reorder items
AnimateView: Toggle
AnimateView: Transition types
Scramble text
Scramble text: Hover
Scramble text: Stagger from center
Scroll Direction: Hide Header
Scroll Horizontal Gallery
Scroll Image Reveal
Scroll Text Lines
Scroll Zoom Hero
Reorder items
Shared layout animation
Scramble text
Scramble text: Hover
Scramble text: Stagger from center
Scroll velocity: 3D planes
iOS App Folder
To-do list
To-do list
Bezier curve editor
Carousel: Vertical
Carousel
Carousel: Autoplay
Carousel: Coverflow
Carousel: Free scroll
Carousel: Offset-linked animations
Carousel: Lightbox
Carousel: Loop
Carousel: Pagination
Carousel: Pagination with page count
Carousel: Scaling pagination dots
Carousel: Parallax
Carousel: Progress scrubber
Carousel: RTL
Carousel: Thumbnail gallery
Color picker
Ticker: RTL
Color picker
AnimatePresence modes
Carousel
Carousel: Autoplay
Carousel: Coverflow
Carousel: Free scroll
Carousel: iOS exposure slider
Carousel: Offset-linked animations
Carousel: Lightbox
Carousel: Loop
Carousel: Pagination
Carousel: Pagination with page count
Carousel: Scaling pagination dots
Carousel: Parallax
Carousel: Progress scrubber
Carousel: RTL
Carousel: Thumbnail gallery
Carousel: Vertical
Ticker: RTL
AnimatePresence modes
Cursor: Floating target
Cursor: Floating target
Card stack
Card stack
Material Design: Ripple
Material Design: Ripple
Material Design: Ripple
Magnetic filings
Magnetic filings
Cursor trail
Cursor trail velocity
Infinite loading
Cursor trail
Cursor trail velocity
Base UI: Checkbox
Base UI: Context menu
