Examples
Production-ready snippets for Motion across React, JavaScript, and Vue. Ready to copy paste straight into your site, or adapt with AI.
Results
Pointer collision detection
Bobble hover
Clerk: Sign-in-or-up
Pokopia: Modal
Command Palette
Copy Button
Floating Action Button
Sheet Modal
Context Menu
Mega Menu
Number trend
Scroll Horizontal Gallery
Scroll Image Reveal
Scroll Text Lines
Scroll Zoom Hero
Scroll velocity: 3D planes
Bezier curve editor
Color picker
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: RTL
Carousel: Thumbnail gallery
Carousel: Vertical
Ticker: RTL
Cursor: Floating target
Card stack
Material Design: Ripple
Magnetic filings
Base UI: Select
Ticker: Overflow
Ticker
Ticker: Draggable
Ticker: Scroll
Ticker: useTickerItem
Ticker: Vertical scrolling
Ticker: Cursor
Ticker: Text hover effect
Cursor: Magnetic target
iOS pointer animation
Warp overlay
Cursor: Image hover
Fill text
Loading overlay
Loading progress bar
Tilt card
Image reveal slider
Drag: Lock direction
Apple Watch Home Screen
usePresenceData
Radix: Dropdown Menu
Base UI: Radio
Radix: Select
Radix: Toast
Number formatting
Price switcher
Swipe actions
Number counter
Radix: Slider with AnimateNumber
iOS slider
Smooth Tabs
Follow pointer with spring
Toast: Notifications list
Parallax
Spinning 3D cube
useTime
iOS Notifications stack
Cursor: Custom content
Cursor: Follow
Cursor: Multi-follow
Cursor: Adaptive caret size
Drag
Drag: Constraints
Keyframes
Scroll-linked animations
Scroll-linked spring animation
Variants
Pull example source straight into Cursor, Claude Code, and any MCP-aware agent.
Premium examples are searchable for Motion+ members through the Motion AI Kit.
Learn more about Motion+Motion+
Unlock all 400+ examples
- Source code for every Plus example.
- Provide examples direct to your agent via Motion's MCP.
- Lifetime access to new examples and APIs.