Skip to content

Website guide

How Animations and Effects Work in Framer

Framer animates with Motion, its open-source library. You set it up with separate tools for Appear, Scroll, Hover and Press, and page transitions. Code Overrides and Code Components cover custom motion.

Figment editorial teamPublished Updated

Framer's animations run on Motion (formerly Framer Motion), an open-source animation library, and you control it through separate no-code tools: Appear effects, Scroll effects and Scroll Transforms, Hover and Press effects, and page transitions. Each has its own trigger and settings, rather than one universal animation panel. For anything those do not cover, Code Components and Code Overrides give developers direct access to the same library. Everything below comes from Framer's own Help Center and Academy.

What powers animation in Framer?

Motion does. Framer's help center says: "Motion, formerly known as Framer Motion, is a high-performance, open-source animation library that leverages JavaScript and React. In Framer, it enables users to create beautiful animations without writing code" (Framer Help, "How animations and effects work in Framer"). Four features come from that foundation: hardware-accelerated animations "for smoother, browser-native performance," layout animations that "seamlessly animates transitions between different states," gesture support for "tap, drag, and hover," and optimized performance through "deferred keyframe resolution, and native browser API integration."

How do Appear effects work?

An Appear effect animates a layer into place as it enters the viewport or the page loads. Framer's Academy lesson says: "Add the Appear Effect to a layer and choose how opacity, position, scale, or rotation changes as it enters the viewport. Set the trigger, delay, duration, and easing from the effect controls" (Framer Academy, "Use the Appear Effect in Framer").

The same lesson limits the stagger option: "Use stagger only when several related items should reveal in order." It also sets an accessibility floor: "keep the final content visible even when the effect does not run." A broken or skipped animation should not leave content invisible.

How do Scroll effects and Scroll Transforms work?

Framer splits scroll-driven motion into two tools, and mixing them up is a common source of confusion:

  • Scroll-triggered effects fire once, at a point you choose, like an Appear effect keyed to scroll position instead of viewport entry: "Select the layer, add a scroll-triggered effect, and choose the viewport point that starts the animation" (Framer Academy, "Trigger animations on scroll in Framer").
  • Scroll Transforms are continuous rather than triggered once: "Scroll Transforms let us translate scrolling into smooth, gradual changes to the position, scale, rotation, and opacity of an element," in contrast to "Scroll Animations," which "allowed us to trigger an animation that carried itself out with a pre-defined duration" (Framer Academy, "Animate scroll transforms in Framer"). You "add a Scroll Transform to the layer and map the page's scroll range to properties such as position, scale, rotation, or opacity," then "set the start and end trigger points around the section that should control the movement."

Framer's testing guidance for Scroll Transforms says to check "clipping, overlapping content, and the final resting state at each breakpoint before adding more transformed properties." A parallax-style effect that looks fine on desktop can clip badly once elements stack differently on mobile.

How do Hover and Press effects work?

They give pointer feedback on interactive elements: "Add Hover and Press Effects to show how an interactive element responds to pointer input. Change a small set of properties such as fill, scale, opacity, or shadow, then set a transition that returns cleanly to the default state" (Framer Academy, "Use Hover and Press Effects in Framer"). Framer flags an accessibility gap if you stop at hover alone: "pair hover feedback with a pressed or focus state so the Component communicates interaction on touch screens and keyboards as well as with a mouse." A hover-only effect never fires for someone using a keyboard or a touchscreen.

For interactions with more than one discrete state, such as an open-and-closed menu, a selected tab, or an expanding card, Framer's animation overview points to Component Variants instead of layer effects: designers "create Variants that represent each state and connect them with click, mouse enter, or mouse leave triggers" (Framer Academy, "Create and prompt animations in Framer").

How do page transitions work?

Framer calls them Page Effects, and they are built on the View Transitions API: "Create page transitions in Framer with Page Effects built on the View Transitions API. Apply one effect across all pages or target a specific route, then use presets or customize the current page's exit and the next page's entrance" (Framer Academy, "Create page transitions with Page Effects in Framer"). You add a Page Effect from the Effects panel, choose whether it applies site-wide or to one page, and can start from a preset before adjusting the entrance and exit separately. Framer's FAQ on the lesson confirms "Page Effects let you control how the current page leaves and how the destination page appears," and that they can be combined with effects already running on the destination page.

Follow Framer's testing checklist before publishing one site-wide: "Test browser back and forward actions, direct loads, reduced motion, and pages with different heights before using the effect across the whole site" (Framer Academy, "Animate transitions between pages in Framer"). A transition that looks right going forward through a click can look broken on a browser back-button press or a page with a very different scroll height.

How do I build custom motion with Code Overrides or Code Components?

Use them for anything the panel-based effects do not cover. Framer's help center describes both as built on the same library: "Code Components: Build custom React components for use in Framer projects. Code Overrides: Modify or extend the behavior of existing Framer elements using JavaScript functions. Both methods provide full access to the Motion for React API, enabling sophisticated animations and interactions" (Framer Help, "How animations and effects work in Framer"). In practice, a Code Override wraps an existing canvas layer to add behavior it lacks natively, while a Code Component is a standalone React component you drop onto the canvas. Reach for them once a design needs logic that no combination of Appear, Scroll, Hover, or Variant settings can express, such as a counter, a custom drag interaction, or a synced animation across several elements.

What performance and accessibility settings should I know about?

Two settings sit outside the effects themselves and change whether any of them run:

  • Reduced Motion. Framer's help center: "Modern operating systems allow users to set a preference for reduced motion. Framer offers a setting to disable parallax, transform, and layout animations for those who prefer minimal motion." You control it under Site Settings → General, where "you'll find an option to adjust this setting, controlling motion effects like parallax, transform, and layout animations" (Framer Help, "Reduced motion settings").
  • Your Accessibility setting combined with a visitor's device. Framer's troubleshooting page states the mechanism: "Effects will not function if the Accessibility option is enabled in your site settings and the user's device has reduced motion enabled. When the 'prefer-reduced-motion' setting is enabled in the user's browser or device, only the opacity will be animated" (Framer Help, "Why aren't the effects in my project functioning"). The same page adds that "when Low Power Mode is enabled on a user's device, certain animations may not work." Check this before assuming a bug report is a broken effect.

Example (hypothetical): A designer builds a hero section with an Appear effect on the headline, a Scroll Transform that shrinks a hero image as visitors scroll past it, and a Hover effect on the CTA button. After publishing, a tester on an iPhone in Low Power Mode reports that the scroll effect "isn't working." Framer's troubleshooting guidance above tells the designer it is the device setting, not a broken build, so the designer documents the expected behavior instead of chasing a phantom bug. This is illustrative only, not a build we ran.

If a motion effect breaks a layout, how do I recover?

Remove or disable the effect, because every effect above is a setting on a layer or page rather than injected code. Reopen the layer's Appear, Scroll, or Hover effect controls and delete the effect, or turn on Reduced Motion in Site Settings to see how the page reads with transform and layout animations suppressed site-wide, then decide whether to keep, adjust, or cut a specific effect. For a Code Override or Code Component, disconnect it from the layer first rather than deleting the underlying code file, so you can reattach it once you have isolated the issue.