
The Hero Is Your LCP Element — Design It That Way
The hero is often the element LCP measures, so which element LCP waits for, and its weight, is decided in the mock. Design it light, on purpose, in the spec.
TL;DR: On many corporate pages the hero — the large above-the-fold block a visitor is waiting to see — is the element Largest Contentful Paint measures. That makes the element LCP waits for, and how heavy it is, a composition decision made in the mock, not a developer's afterthought to optimize at the end. A text-led hero with a light supporting image can paint fastest, because text that is not waiting on a font file needs no extra download before it paints; a full-bleed photo or an autoplaying video puts heavy media on that path. Designing the hero well means choosing the LCP element deliberately, keeping it light, reserving its space, and stating all of that in the spec.
The hero is often the LCP element
Largest Contentful Paint measures one thing: how fast the largest content element in the initial viewport appears. On a corporate website that element is often the hero — the full-bleed photograph, the headline block, the product shot, the looping video at the top of the page. LCP times the largest image, text block, or video visible above the fold, with a few exceptions — in Chromium-based browsers, for example, an element that covers the full viewport is skipped as likely background rather than content. That timing is the number a visitor experiences as how long until this page feels like it has arrived.
Which means a key input to the metric is set in the mock. The choice of a full-bleed photographic hero, a video, or a typographic headline is a design choice, made in a composition review, often long before an engineer touches it. web.dev's guide to Largest Contentful Paint describes the resource and rendering path that determines the number, but the input to that path — what the largest element is, and how heavy — is decided upstream. A consequential performance decision on the page is made by the person composing the hero, and it can be made without anyone naming it as a performance decision at all. That naming is the whole point of treating the hero as the LCP element by design rather than discovering it afterward.
Composition decisions that change LCP
Different hero compositions have very different paint costs, and the differences are large enough to be a design conversation rather than an implementation detail. A full-bleed photographic hero is heavy media on the critical path. An autoplaying video can be heavier still, and it carries the continuous costs a still does not; for LCP, though, what counts is the video's poster image or first frame, whichever is earlier. A type-led hero — a strong headline with generous space and a light supporting image, or none — can be the lightest of these patterns, because text in a well-loaded typeface paints almost immediately while a large image is still arriving.
This is not an argument that every hero must be text. It is an argument that the choice is a performance choice with a known direction: a text-led hero with a small, well-chosen supporting image can paint fastest, a full-bleed image is a deliberate spend, and a hero video can be the most expensive option on the menu. Effects layered over the hero — gradient scrims, parallax, animated overlays — can add cost without adding the meaning the hero exists to carry; they are the first thing to question when a composition is heavy. The point is that these trade-offs are visible at composition time and invisible at launch, when the only lever left is an engineer trying to make, say, a multi-megabyte decision paint quickly.
One nuance keeps the text-led shortcut honest. A typographic hero only paints fast if its text is not left waiting on the typeface it depends on — a headline set in a heavy custom font with font-display left at auto or block can stay invisible for a block period while that font downloads, and it can become the LCP element that quietly stalls on a slow connection. LCP, one of the three Core Web Vitals, does not care whether the slow thing is an image or a headline waiting on a webfont; it measures when the largest element actually appears. The composition decision and the type decision are the same decision when the headline is the hero, which is why a light hero and a disciplined font choice are made in the same review, not in two separate ones.
Designing a fast hero on purpose
A fast hero is not an accident the frontend rescues; it is a composition designed to paint fast on purpose, and there are three deliberate moves.
The first is to choose the LCP element on purpose. Decide, in the mock, which element is the one the visitor is waiting for, and make it the lightest thing it can be while still doing its job. A hero can be striking without being a multi-megabyte file; the constraint is a creative brief, not a compromise imposed afterward by someone who did not get a vote in the composition.
The second is to make sure the hero resource is not queued behind decoration. The element the page is judged on should be fetched ahead of the things that merely decorate it, not after a carousel of secondary images and a stack of scripts. web.dev's guidance on fetch priority covers the mechanism the frontend uses to do that — the implementation is theirs to own — but the design contribution is to state clearly which element is the intended LCP element, so the team prioritizes the right thing rather than guessing from the layout.
A worked example shows how these compound. Picture a composition with a full-bleed photographic hero, a logo strip, and an animated overlay, all approved together because together they looked considered. On a fast machine they paint as one. On a phone, the overlay script and the logo strip load early because nothing told the browser they were less important than the photograph, so the photograph — the actual LCP element, the thing the visitor is waiting on — arrives last, behind decoration that was never the point. Nothing in that sequence is a frontend mistake; it is the absence of a decision about which element matters most, made at the moment the composition was signed off. Naming the LCP element in the mock is what prevents exactly this.
The third is to reserve the hero's space so it does not also cause a layout shift. A hero that paints late and pushes the rest of the page down as it arrives is paying twice — once in LCP and once in Cumulative Layout Shift. Designing a fixed, reserved area for the hero, with its dimensions known at every breakpoint, means the hero's area is stable from the first paint and the late arrival of the image moves nothing. One element, two metrics: keeping the hero light and prioritized helps LCP, and reserving its space prevents the shift that CLS counts. The per-metric depth of how CLS and LCP are caused and owned belongs to the articles on this topic that cover each metric's causes and owners; the point here is narrower — the hero is one place where design choices about a single element move two numbers at once.
The handoff the hero needs
A well-composed hero still fails if the spec hands over only the picture. The composition document that goes to engineering should state which element is intended to be the LCP element — not leave the team to infer it from the layout. It should give the asset budget and the dimensions, not only the visual: a ceiling in bytes the hero may not exceed, and the exact reserved space it occupies at each breakpoint. A spec that says this is the LCP element, it must come in under this weight, it occupies this space reconciles the visual ambition and the performance cost at the only time that reconciliation is cheap.
Concretely, that is the difference between a hero spec that says "full-bleed lifestyle photograph, brand-warm grade" and one that adds "this is the LCP element; under 200 KB on mobile; occupies a fixed 16:9 band at every breakpoint; nothing animated layered above it." The first is a picture. The second is a picture with the three things the team needs to hit the number — the element named, the weight capped, the space reserved — and it costs one extra sentence in a document that already exists. The omission is usually not that the team did not care about performance; it is that the half of the decision that controls the metric never got written down where the people building it could see it.
The deeper frontend engineering that follows — how the resource is preloaded, decoded, and prioritized in the critical path — is real work covered by an article in the modern frontend development topic on this site, and it is not restated here. This article's claim is the one that comes first: the hero is a design decision that decides a metric, and a beautiful hero nobody waits to see is a hero that failed. Improving this number is not the frontend's job alone — the designer chooses the element and its weight, the frontend prioritizes and reserves it, planning sets the budget it answers to, and the spec is where those owners agree before any code exists.
Diagnostic checklist for the next planning cycle
- Confirm which element is actually your top page's LCP element — with a RUM tool that records it (for example, the web-vitals library's attribution build) or, for a lab run, Lighthouse's Largest Contentful Paint element diagnostic. It is often the hero, but verify rather than assume.
- On the next composition, name the intended LCP element in the mock and set a byte ceiling for it before the visual is approved.
- Reserve the hero's exact space at every breakpoint so its late arrival never shifts the layout.
- Add the LCP element, its budget, and its dimensions to the hero spec — not only the look — before handoff.