/

Animations in Framer

Animations in Framer

Franerd

Design studio

11 min article

Standard websites are static; great websites are cinematic. In Framer, you don't need a degree in motion graphics to create high-end interactions. By mastering a few key concepts, you can transform a simple layout into a premium, app-like experience.

Scroll Animations: Depth and Direction

Framer’s scroll effects let you create parallax, fade-ins, and scale animations triggered by the user's journey down the page. This keeps visitors engaged and signals which content is most important.

  • Scroll-Triggered vs. Scroll-Linked: * Appear Effects: These trigger once an element enters the viewport (perfect for fading in text blocks).

    • Scroll Transforms: These link the animation directly to the scroll position. Use this to create Parallax (backgrounds moving slower than foregrounds) or to make a logo shrink as you leave the Hero section.

  • Sticky Triggering: To create those "Apple-style" product reveals, use Sticky positioning. Keep an image pinned in the center of the screen while the text scrolls by, triggering different image "variants" as new text sections enter the view.

  • Section Triggers: You can set animations to start based on specific "Scroll Sections." This ensures your animation timing is perfect, regardless of how fast or slow a user scrolls.

Page Transitions: The App-Like Flow

Jumping between pages can often feel jarring. Framer’s Page Effects (powered by the View Transitions API) bridge that gap, making your site feel like a single, cohesive product.

  • Global vs. Local Transitions: You can set a site-wide transition (like a subtle crossfade) or create unique "Wipe" or "Zoom" effects for specific page links.

  • Shared Element Transitions: This is the "Pro" move. If you have a thumbnail on your home page that expands into a full-size hero image on the sub-page, Framer can "morph" the element from one state to the other across the URL change.

  • Using Masks: Level up your transitions by using Wipe Masks. You can make the next page "slide in" from the bottom or reveal itself via a circular expansion, giving your site a high-end editorial feel.

Hover States: Instant Feedback

Hover interactions make cards, buttons, and nav elements feel responsive to the user's touch. It’s the digital equivalent of a physical button clicking under your finger.

  • Non-Component Hovers: In Framer, you don't have to turn everything into a component just to add a hover. You can add a Hover Effect to any frame, allowing you to quickly adjust scale, rotation, or shadow on the fly.

  • Spring Physics: Avoid "linear" animations that feel robotic. Framer uses Spring physics (Stiffness, Damping, and Mass) by default. A slight "bounce" on a button hover makes the interface feel tactile and friendly.

  • Cursor Interactions: You can even create custom cursors that react when hovering over specific "Action" areas—like a cursor that turns into a "View Project" circle when hovering over a portfolio card.

Interactive Components: Motion with Logic

Compose reusable components with motion variants to keep experiences consistent and fast to build. This is where you combine "Design" and "Logic."

  • Variant Transitions: Create a "Menu" component with two states: Closed and Open. You can then "wire" the interaction so that clicking the hamburger icon triggers a smooth transition between the two variants.

  • Looping Animations: Some elements need to move without user input. Use the Loop effect for subtle background floating, rotating "badges," or infinitely scrolling marquees (Tickers).

  • Staggered Children: When a menu opens, don't just fade everything in at once. Use "Stagger" to make each menu item pop in one after another (0.1s apart). It’s a tiny detail that makes a massive difference in perceived quality.

💡 Pro-Tip: The "Less is More" Rule

While it’s tempting to animate everything, motion should always serve the content. If an animation takes too long (over 0.6s) or distracts from the text, it’s a hurdle, not a feature. Use motion to guide the eye, not to overwhelm it.

More of our blog articles

Create a free website with Framer, the website builder loved by startups, designers and agencies.