The Framer code guide logo
  • Table of Contents
    • Introduction
      Introduction
    • Some Examples
      Some Examples1. Tween2. Spring3. Duration-based spring4. Repeat5. Reverse6. While hover7. While tap8. While drag9. Cycling through states10. Animation sequence11. Drag: Constraints12. Drag: Direction locking13. Drag: Transform14. Drag: 3D transform15. Scroll: Progress16. Scroll: Refresh17. Page: Indicators18. Page: Effects19. Scroll and Page combined20. SVG path length21. Keyframes: Position and color22. Keyframes: Morphing an SVG path23. Colors: Keyframe animation24. Colors: Interpolation25. Colors: Switching between states26. Tracking the cursor27. Variants: Animation propagation28. Variants: Staggered animation29. Cycling parent and child variants30. SVG gradient animation31. Animate Presence32. Animate Presence: Stack 3D33. Layout animation34. Swapping elements35. Swipe to delete
    • Code Overrides
      Code OverridesBasic OverridesSharing Data Between OverridesOverriding Canvas ComponentsOverriding Code Components
    • Code Components
      Code ComponentsA Simple Code ComponentComponent StylingComponent SizingMotion-Compatible ComponentsImporting Other Layers, Components, and PackagesCustomizing an Existing ComponentProperty ControlsFlexbox Component
    • Smart Code Components
      Smart Code ComponentsProps Versus StatePassing Down PropsSharing StateLetting a Prop Change the StateSimple But SmartiOS Segmented Control
    • The Main Properties
      The Main PropertiesThe Animate PropertyThe Transition PropertyThe Initial Property
    • Hooks
      HooksThe useState() Hook
    • Gesture Animations
      Gesture Animations
    • Variants
      Variants
    • Keyframes
      Keyframes
    • Animation Types
      Animation Types
    • Exit Animations
      Exit Animations
    • Cycling Through States
      Cycling Through States
    • Layout Animations
      Layout AnimationsInline Styling Versus CSS ClassesScale Correction for Child ElementsCustomizing Layout AnimationsLayout GroupShared Layout Animations
    • Motion Values
      Motion ValuesChaining and Transforming Motion ValuesScroll-Linked AnimationsScroll Layers for PrototypingAnimating Motion ValuesResetting a Motion ValueSpringy Motion Values
    • Scroll-Triggered Animations
      Scroll-Triggered AnimationsUsing whileInViewUsing useInView()
    • Manual Controls
      Manual ControlsThe useAnimate() hookThe useAnimationControls() Hook
    • SVG Animations
      SVG AnimationsAnimating SVG Path ChangesLine DrawingAnimating SVG Gradients
    • Dragging
      DraggingAxis and Direction LockingDrag ConstraintsDrag ElasticDrag MomentumInertia AnimationsModify TargetMin and MaxSnap to Grid ExampleSnap to Corner ExampleDrag EventsDrag Controls
    • Reorder
      Reorder
    • Using a Web API
      Using a Web API
    • Animatable Properties
      Animatable Properties
    • API Overview
      API Overview
    • A Framer Motion Project
      A Framer Motion ProjectCreate React AppCodeSandboxRouting
  • Updates
  • FAQ
  • Get the guide
Login / Register

  • Introduction
    Introduction
  • Some Examples
    Some Examples 1. Tween 2. Spring 3. Duration-based spring 4. Repeat 5. Reverse 6. While hover 7. While tap 8. While drag 9. Cycling through states 10. Animation sequence 11. Drag: Constraints 12. Drag: Direction locking 13. Drag: Transform 14. Drag: 3D transform 15. Scroll: Progress 16. Scroll: Refresh 17. Page: Indicators 18. Page: Effects 19. Scroll and Page combined 20. SVG path length 21. Keyframes: Position and color 22. Keyframes: Morphing an SVG path 23. Colors: Keyframe animation 24. Colors: Interpolation 25. Colors: Switching between states 26. Tracking the cursor 27. Variants: Animation propagation 28. Variants: Staggered animation 29. Cycling parent and child variants 30. SVG gradient animation 31. Animate Presence 32. Animate Presence: Stack 3D 33. Layout animation 34. Swapping elements 35. Swipe to delete
  • Code Overrides
    Code Overrides Basic Overrides Sharing Data Between Overrides Overriding Canvas Components Overriding Code Components
  • Code Components
    Code Components A Simple Code Component Component Styling Component Sizing Motion-Compatible Components Importing Other Layers, Components, and Packages
    Customizing an Existing Component Property Controls
    Flexbox Component
  • Smart Code Components
    Smart Code Components Props Versus State Passing Down Props Sharing State Letting a Prop Change the State Simple But Smart iOS Segmented Control
  • The Main Properties
    The Main Properties The Animate Property The Transition Property The Initial Property
  • Hooks
    Hooks The useState() Hook
  • Gesture Animations
    Gesture Animations
  • Variants
    Variants
  • Keyframes
    Keyframes
  • Animation Types
    Animation Types
  • Exit Animations
    Exit Animations
  • Cycling Through States
    Cycling Through States
  • Layout Animations
    Layout Animations Inline Styling Versus CSS Classes Scale Correction for Child Elements Customizing Layout Animations Layout Group Shared Layout Animations
  • Motion Values
    Motion Values Chaining and Transforming Motion Values Scroll-Linked Animations Scroll Layers for Prototyping Animating Motion Values Resetting a Motion Value Springy Motion Values
  • Scroll-Triggered Animations
    Scroll-Triggered Animations Using whileInView Using useInView()
  • Manual Controls
    Manual Controls The useAnimate() hook The useAnimationControls() Hook
  • SVG Animations
    SVG Animations Animating SVG Path Changes Line Drawing Animating SVG Gradients
  • Dragging
    Dragging Axis and Direction Locking Drag Constraints Drag Elastic Drag Momentum Inertia Animations Modify Target Min and Max Snap to Grid Example Snap to Corner Example Drag Events Drag Controls
  • Reorder
    Reorder
  • Using a Web API
    Using a Web API
  • Animatable Properties
    Animatable Properties
  • API Overview
    API Overview
  • A Framer Motion Project
    A Framer Motion Project Create React App CodeSandbox Routing

Some Examples

Many more examples on framermotionexamples.com

Already a while ago, Benjamin den Boer released a project with 30 example animations. And later, he shared 20 Framer Motion examples.

I gathered those animations, picked the most interesting ones, and added a few of my own. With the launch of Framer for Developers, I updated them all.

Get them all here:

📘 The Framer Code Guide – 💫 Example animations
  • open in Framer

 

  1. Tween
  2. Spring
  3. Duration-based spring
  4. Repeat
  5. Reverse
  6. While hover
  7. While tap
  8. While drag
  9. Cycling through states
  10. Animation sequence
  11. Drag: Constraints
  12. Drag: Direction locking
  13. Drag: Transform
  14. Drag: 3D transform
  15. Scroll: Progress
  16. Scroll: Refresh
  17. Page: Indicators
  18. Page: Effects
  1. Scroll and Page combined
  2. SVG path length
  3. Keyframes: Position and color
  4. Keyframes: Morphing an SVG path
  5. Colors: Keyframe animation
  6. Colors: Interpolation
  7. Colors: Switching between states
  8. Tracking the cursor
  9. Variants: Animation propagation
  10. Variants: Staggered animation
  11. Cycling parent and child variants
  12. SVG gradient animation
  13. Animate Presence
  14. Animate Presence: Stack 3D
  15. Layout animation
  16. Swapping elements
  17. Swipe to delete

Introduction 1. Tween

Leave a Reply Cancel reply

You must be logged in to post a comment.

Home FAQ Updates
Copyright © 2016-2024 Tes Mat.
plugins premium WordPress