When people talk about web design, they usually mean the things you can see: color, type, layout, motion. But the first thing a visitor actually experiences is none of those. It’s the wait. A beautiful page that takes four seconds to show up has already lost part of its audience before the design gets a chance to do its job.
After years of building campaign sites, agency builds and React apps, I’ve stopped treating performance as an engineering clean-up step at the end of a project. It’s a design decision, and it starts the moment you open Figma.
Know the three numbers that matter
Google’s Core Web Vitals give us a shared language for how a page feels. A page passes when at least 75% of real visits hit these targets:
- Largest Contentful Paint (LCP) ≤ 2.5s — how quickly the main content (usually the hero image or headline) appears.
- Interaction to Next Paint (INP) ≤ 200ms — how quickly the page responds when someone taps, clicks or types. INP replaced First Input Delay in 2024 and is much stricter, because it looks at every interaction, not just the first one.
- Cumulative Layout Shift (CLS) ≤ 0.1 — how much things jump around while the page loads.
Every one of those is shaped by design choices. A full-bleed video hero, a font that loads late, an ad slot without reserved space — these are decisions made in the mockup long before a developer touches them.
Design the hero for LCP
The hero is almost always your LCP element, so treat it as the most important asset on the page. In practice that means:
- Serve modern formats like AVIF or WebP with responsive
srcsetsizes, so phones aren’t downloading desktop images. - Never lazy-load the hero image. Lazy loading is great for everything below the fold and harmful for the one image you need first.
- Give the browser a hint with
fetchpriority="high"on the hero image. - Consider whether the hero needs a photo at all. Some of my favorite heroes are pure CSS: gradients, grids and type, which render almost instantly.
<img src="hero-1600.avif"
srcset="hero-800.avif 800w, hero-1600.avif 1600w"
sizes="100vw"
width="1600" height="900"
fetchpriority="high"
alt="…">
Reserve space to kill layout shift
Layout shift is the most avoidable of the three, and the most annoying for users. The fix is simple: tell the browser how big things will be before they arrive. Always set width and height on images (or use aspect-ratio in CSS), reserve space for embeds and banners, and avoid injecting content above what the reader is already looking at.
Fonts are the sneaky one. When a web font swaps in, text can reflow. Limit yourself to two families, subset them, preload the one used above the fold, and use font-display: swap with a fallback that has similar metrics.
Keep interactions light
INP is where heavy JavaScript gets exposed. Every slider, tracking script and animation library competes for the main thread. When I build in WordPress and Elementor, I lean on native features and CSS first, and only reach for JavaScript when it genuinely adds something. On the React side, that means splitting bundles, deferring non-critical work and keeping event handlers small.
Set a performance budget with your designer
The best habit I’ve picked up is agreeing on a budget at the start of a project: for example, a hero under 200 KB, no more than two font families and a total JavaScript budget for the page. It turns performance into a constraint the whole team designs around, instead of a list of problems found after launch.
The takeaway
Fast sites feel better designed. When the content appears instantly, nothing jumps, and every tap responds right away, people trust the brand behind it. That’s not a technical detail. That’s the design.