All posts
Web design & development

Core Web Vitals for Framer, Webflow and Next.js Sites: Platform-Specific Fixes

Platform-specific fixes for Core Web Vitals on Framer, Webflow and Next.js sites: what you control on each, the common failures and the first fixes to make.

By Mehdi Hassan7 min read

The short answer

To improve Core Web Vitals on Framer, Webflow and Next.js, fix what each platform lets you control. On Framer, tame appear and scroll effects and embeds. On Webflow, set the hero image to eager, trim interactions and move custom code late. On Next.js, keep pages static and client components small. Third-party scripts hurt all three.

Key takeaways

  • Every platform shares one fix: fewer and later third-party scripts.
  • Framer: entrance effects on the hero headline delay LCP; keep the main text visible on load.
  • Webflow: images lazy load by default, so switch the hero image to eager loading.
  • Next.js: one dynamic call or oversized client component can undo the framework's defaults.
  • Measure with field data per page group before and after each platform-specific fix.

Part of Core Web Vitals Explained for Marketers and Founders

How do you improve Core Web Vitals on Framer, Webflow and Next.js sites?

You improve Core Web Vitals on each platform by working within the controls it gives you. Framer and Webflow handle hosting, image resizing and much of the build for you, so the fixes are mostly about choices you make in the editor. Next.js gives you full control, so the fixes are about build decisions.

This is a fix guide, not a platform comparison. If you're choosing a platform, that's a different decision. Here we assume you're staying where you are and want to pass LCP, INP and CLS for real visitors. For the metrics themselves, see Core Web Vitals explained for marketers and founders.

Platform

Handles for you

You control

Usual failing metric

Framer

Hosting, CDN, image resizing, code output

Effects, embeds, custom code, fonts, image choices

INP and LCP on mobile

Webflow

Hosting, CDN, responsive image variants

Interactions, lazy loading, custom code, fonts, page structure

INP, sometimes LCP

Next.js

Image, font and script tooling if you use it

Rendering, hydration, hosting, everything else

INP; LCP if pages are dynamic

Which fixes apply to every platform?

Three fixes apply everywhere: cut third-party scripts, treat the hero as the LCP element, and reserve space for anything that loads late. Do these before any platform-specific work, because they're often the largest wins.

  • Third-party scripts. Analytics, chat, heatmaps, A/B testing and ad pixels add main-thread work on every platform. Remove what nobody uses and load the rest late; our third-party scripts audit gives the method.
  • The hero. Compress the hero image or video poster, don't lazy load it, and keep the headline visible from the first paint. Our guide to improving LCP goes deeper.
  • Reserved space. Images, embeds and banners need dimensions or fixed containers so they don't shift content.
  • Fonts. Load fewer families and weights, and prefer a variable font.

How do you improve Framer performance?

Improve Framer performance by simplifying effects, limiting embeds and code components, and keeping the hero's main content visible on load. Framer optimizes images and hosting well, so most problems come from what's added in the canvas.

  1. Remove appear effects from the LCP element

    An appear or entrance effect that starts the hero headline or image at zero opacity delays the largest paint. Keep it visible and animate supporting elements instead.

  2. Reduce scroll effects and long animations

    Scroll-linked transforms and many simultaneous effects add main-thread work, which hurts INP on mid-range phones. Keep the ones that explain the product.

  3. Audit embeds and code components

    Third-party embeds for forms, video, calendars and reviews each load their own scripts. Replace them with native elements or click-to-load versions where you can.

  4. Check image sizes at upload

    Framer resizes images, but very large source files and huge background videos still cost time. Upload sensibly sized files and compress video.

  5. Trim custom code in site settings

    Scripts added to the site head load on every page. Move page-specific scripts to the pages that need them.

How do you improve Webflow page speed?

Improve Webflow page speed by setting the hero image to load eagerly, trimming interactions, and controlling where custom code loads. Webflow generates responsive image variants for you, but its defaults aren't tuned for the hero.

  • Hero image loading. Webflow images default to lazy loading. Set the hero image to eager in the image settings so it starts downloading immediately.
  • Interactions. Large interactions that run on page load or on scroll, especially across many elements, are a common INP cost. Simplify them, and use CSS transitions for simple hovers.
  • Custom code placement. Code in the head runs before the page renders. Put scripts before the closing body tag, or load them after interaction.
  • Background images and videos. Background images set in the style panel skip the responsive image variants. For the hero, use an image element positioned behind content.
  • Fonts. Upload only the weights you use, and check the font settings for a font-display option so text shows while fonts load.
  • CMS pages. Collection lists with many images should paginate or limit items, since every image and card adds work.

Webflow's own documentation covers image settings and custom code placement on webflow.com. The principles match the other platforms: less script, earlier hero, reserved space.

How do you improve Next.js Core Web Vitals?

Improve Next.js Core Web Vitals by keeping marketing pages static, keeping client components small and using the built-in image, font and script tools with the right settings. Next.js gives you good defaults, but they're easy to undo.

Field data published by corewebvitals.io for the second quarter of 2026 shows only about two-thirds of Next.js sites passing INP, with a median around 236ms. In practice, the cause is usually one of the items below rather than the framework itself.

  • Static rendering. Check the build output. A cookies, headers or uncached fetch call in a shared layout can turn every page dynamic and slow the first byte.
  • Client components. Marking a whole section as client code hydrates everything inside it. Keep interactivity in small leaf components.
  • Images. Use the Image component with real sizes values and priority on the hero only. Our guide to next/image, fonts and scripts has the defaults.
  • Scripts. Load tags with the Script component and lazyOnload or click-to-load for widgets.
  • Hosting. Static pages on a CDN serve fast anywhere; see hosting Next.js on Cloudflare Workers for a low-cost setup.
  • Upkeep. Framework updates bring performance improvements, so keep dependencies current as covered in keeping a Next.js site healthy.
Hypothetical example: the same page on three platforms

For example, suppose a startup has the same pricing page design on Framer, Webflow and Next.js, each with a chat widget, a tag manager and a monthly or annual toggle.

On Framer, the fix is removing the appear effect from the plan cards' headline, replacing the chat embed with a click-to-load button and moving a script out of the site head. On Webflow, it's setting the hero image to eager, simplifying the toggle's interaction and moving custom code to the footer. On Next.js, it's making the toggle the only client component on the page and loading chat on click. The chat widget fix is the same everywhere.

When is the platform itself the limit?

The platform is the limit when you've removed scripts, fixed the hero and simplified effects, and field data still fails on core pages. At that point, more optimization rounds are wasted money, and the question becomes whether the design needs to change or the platform does.

Be honest about which it is. Often the design is the constraint: heavy motion everywhere, multiple videos and many embeds would fail on any platform. Sometimes it's the reverse, and a coded site with a shared design system would give you the control you need. Moves in either direction are covered in our guides to moving from code to a visual builder and choosing a platform for your marketing site. For INP specifically, our guide on how to fix INP helps you check whether you've exhausted the fixes first.

Frequently asked questions

Is Framer or Webflow faster out of the box?
Both serve pages from a global CDN and optimize images, and a simple page on either can pass Core Web Vitals. Real-world results depend far more on what's built on top: effects, interactions, embeds and scripts. We don't recommend picking a builder for speed alone; pick it for your team's workflow, then follow the platform-specific fixes.
Do Webflow interactions hurt Core Web Vitals?
They can. Interactions that run on page load or scroll across many elements add main-thread work, which can hurt INP, and entrance animations on hero content can delay LCP. Small, targeted interactions are usually fine. Profile the page on a throttled phone and simplify the interactions that show up in long tasks.
Can I add custom code to speed up a Framer site?
Custom code can help in narrow cases, such as loading a widget on click instead of on page load. It can't change how Framer renders or hydrates pages. More often, the speed gains come from removing custom code and embeds, not adding them. Keep site-wide scripts minimal and add page-specific code only where needed.
Does hosting affect Next.js Core Web Vitals?
Yes, mostly through server response time, which feeds LCP. Static pages served from a CDN are fast on most hosts. Dynamic pages depend on where functions run and how far they are from your data. Choose a host with edge caching, keep marketing pages static and check time to first byte from the regions your visitors come from.
How often should I check Core Web Vitals on a builder site?
Check Search Console's Core Web Vitals report monthly, and after any significant change such as a new section type, a new embed or a new marketing tag. Builder sites change quickly because editors can add things without a developer, so regular checks catch regressions before they spread across many pages.

· CEO & Design Director

Copywriter, designer and developer, and founder of Designify Studio. Over five years, 60+ projects across 14+ industries, for startups that have raised $300M+.

Want this done for you? Monthly retainer, $6,000.

Your ongoing design and development team, for products that keep shipping. $6,000, per month, flat fee. Book a free 30-minute call to see if it fits.

Schedule Call