Does a landing page still need Framer Motion? We removed it and measured
Piotr Żarów
CEO at Dev and Deliver
7 mins read
#Development

In this article
Share this article
Introduction
Every few months someone on the team asks whether we still need an animation library on our own marketing site. The usual answers are opinions, so this time we ran the experiment on the real page: the Dev and Deliver landing page, built with Next.js 16, React 19 and Tailwind 4. We wrote the hypotheses down before measuring, and this post reports the numbers as we got them.
What we tested
The site used framer-motion in two components: the hero terminal, which animates in line by line, and the waitlist form, which swaps for a confirmation card. Scroll reveals were already CSS plus an IntersectionObserver.
- A is the site as it is.
- B removes
framer-motion. The terminal entrance becomes CSS keyframes and the form swap becomes CSS plus a short state machine. - C is B with the IntersectionObserver replaced by CSS scroll-driven animations (
animation-timeline: view()), guarded by@supports.
The only change we made after seeing results is described under Speed.
Bytes
Removing Framer Motion saved 40 KB over the wire (16%) and 124 KB decoded, and the number was identical in all 12 runs. That is a solid result, but smaller than people tend to expect. The same page chunk carries zod at about 352 KB, which the form pulls in through our shared types package. That is three times the size of the animation library. If you are hunting for bundle size, look at what sits next to your animation library before you rewrite any animations.
Speed
On a throttled mobile profile (4x CPU slowdown, Fast 4G, 12 interleaved runs per variant), First Contentful Paint, blocking time and interaction latency were statistically indistinguishable between A and B. We write "no detectable difference" because our lab has enough noise to hide anything under a few tens of milliseconds.
LCP caught us out. Chrome reported no Largest Contentful Paint at all for B, about 2.9 s for A and 0.5 s for C, even though the content was on screen in all three. In A the "LCP element" was a terminal line that fades in 1.6 s after load on purpose. In B Chrome never picked an element after the CSS fade-in. The metric showed which element Chrome nominated, not how fast users saw content, so we dropped it from the comparison. It is the only metric we changed after seeing results.
Does it look the same?
B does. Across Chromium, Firefox and WebKit, three viewports and four scroll positions, the pixel difference against A was at most 0.08%.
C does not, and by design. Scroll-driven animations follow scroll position, so they play backward when you scroll up, and they have no time axis, so the per-element stagger delays are gone. Our screenshots differed from A by about 1.2% on average. The reveal is also subtle: the range we picked ends while a section is still near the bottom edge of the viewport, and the motion is only 1rem of travel and a 2px blur. When we scrolled the page in real browsers the sections mostly looked as if they were simply there. For a landing page that is a perfectly good outcome, but if you want visitors to notice the reveal, widen the range.
Browser support
We checked installed browsers on a Mac as well as headless engines. Scroll-driven animations ran in Firefox 161, Safari 26.6.2 and Chromium. CSS.supports was also true in Playwright's Firefox 159. We did not test an engine without support. The fallback of visible-by-default content holds by construction, since nothing is hidden outside the @supports block, but we did not see it happen.
Something the library swap did not touch
With prefers-reduced-motion: reduce enabled, three animations kept running in every variant, original included: the blinking terminal cursor and two infinite marquees. The older CSS never covered them. B and C switch off their own new animations correctly. We found this only because the test counted running animations.
Our take
For this project, a 40 KB saving does not justify a rewrite on its own. We will probably remove Framer Motion anyway, because the two components are small and the CSS version looks the same, but it is not a priority. If we wanted a smaller bundle, zod is the better target: it is three times the size and sits in the same chunk.
For a new project the answer is different. Starting with CSS animations costs little when the motion is light, and you never pay the migration later. We would reach for a library only once the design needs something CSS cannot do well, such as drag, springs or animations between routes.
What we did not prove
- We have not published the code or raw runs, so you cannot rerun this yourself.
- Lab data only, from one site, two components and one machine for timing. There is no field data.
- Headless Chrome has no real GPU, so smoothness is under-represented. C dropped more frames in that lab (1.6% against 0.5%), and we do not read anything into it without a real device.
- We did not test the form swap with a screen reader.
- An AI assistant wrote the animation code in B and C. We reviewed it, and you should review it too.
When to keep the library
This worked because the site uses motion lightly. If you depend on drag, spring velocity, layout animations between routes or orchestrated sequences, a library is still doing real work.
Related posts
Want to light up your ideas with us?
Kickstart your new project with us in ju s t 1 step!









