QualityNovember 30, 20266 min read

Live page vs. Figma layers: how we measure a 97% match

97%

"Pixel perfect" is the most overused phrase in design tools. We wanted numbers instead, measured the same way every time, on real sites, including the ones we're bad at. This post explains the measurements behind the figures on our home page.

1. Figma layers, compared pixel by pixel

For the Figma export, the question is simple: if you lay the Figma frame over the live page, how much of it lines up?

  1. We open the live page at desktop width (1440 px) and take a screenshot.
  2. StyleLift exports it, and our Figma plugin builds the layers: frames, Auto Layout, text and pictures.
  3. We render those layers back to an image the same size and compare the two, pixel by pixel.

A pixel counts as matching when none of its red, green or blue values is off by more than 24 out of 255. That's tight enough that a wrong color, a shifted line of text or a missing picture shows up, and loose enough to ignore anti aliasing. We also report the match on "ink" only, meaning every pixel that isn't plain page background, so a mostly empty page can't score well just by being empty.

On ten award winning sites, a mix of portfolios, agencies and product pages, the results were:

SitePixel match
Site 199.4%
Site 298.6%
Site 398.0%
Site 497.6%
Site 597.6%
Site 697.3%
Site 795.9%
Site 895.8%
Site 995.6%
Site 1090.4%

The median is 97.5%, which is the 97% on our home page. Even the weakest of the ten matched 90% of its pixels.

2. Dashboards and app screens

Marketing pages aren't the only thing people capture. We ran the same pixel comparison on five popular open source admin dashboard templates, full of dense tables, charts, sidebars and form controls. Four matched at 99 to 100%, and the fifth scored between 94 and 98% depending on the screen.

3. Motion, recorded side by side

Animations can't be compared with one screenshot. For motion, we scroll the live page and StyleLift's export along the same path, in the same run, and record which elements move. The number we care about is the share of elements moving on the live page that also move in the copy.

Across 18 award winners and premium templates, chosen because their motion is ambitious:

Motion matchSites
90% or more8
80 to 89%4
50 to 79%4
Below 50%2

Of the two below 50%, one is almost entirely WebGL, so its "animation" is a 3D program rather than elements on a page. The other uses a kind of motion we don't capture yet, and it's on our list. Live sites also vary from run to run because of load timing, intro sequences and randomness, so a few points either way is noise. We track every run so improvements are real, not lucky.

4. The checks that run on every build

Benchmarks on live sites are slow and noisy, so they run before releases. Every single build of StyleLift also runs 201 automated capture checks on test pages we built to be difficult: pinned sections, nested entrances, custom cursors, words that light up as you scroll, and canvases that can't be read back. A change that breaks one doesn't ship.

What we don't claim

If a page you own comes out wrong, send it to us. The hardest pages are how StyleLift gets better.

Measure it on your own page

Paste a page you're working on and compare the result yourself.