← Writing

4 min read

The last mile of handoff belongs in the browser

Why design handoff should end in code on localhost, not in a Figma file.

I have lost count of how many times I've opened a freshly built feature and felt my stomach drop a little. The layout is right. The colors are right. The copy is right. And yet something is off. The spacing feels tighter, the text wraps in a weird place, the hover state is just a color change when I designed something with a bit more life in it.

Nobody did anything wrong. The developer followed the Figma file. I made the Figma file. The problem is that the file was never the real thing.

Figma is a picture of a product

Figma is a great tool, and I'm not here to knock it. But it's a canvas. It draws rectangles and text in a very controlled environment where everything is the exact size I told it to be. A browser is a different world. Fonts render differently. Line heights behave differently. Content is longer or shorter than the placeholder I typed in. Viewports stretch and squeeze. Scrollbars take up space. Animations run on real hardware with real frame rates.

So when we say a design is “pixel perfect” in Figma, we're really saying it's perfect in Figma. That doesn't promise anything about the place where users will actually see it.

The details we sweat are the details that slip

Designers notice small things because small things are most of the job. The way a card sits 4px lower than its neighbor. A button label that's half a weight too heavy. The easing on a dropdown. The way a long headline breaks onto a second line and leaves one lonely word hanging.

Developers are juggling a lot: logic, accessibility, performance, edge cases, browser quirks. Expecting them to also catch every visual nuance from a static frame is asking a lot, and it's not really fair. Those details are easy to overlook, not because devs don't care, but because they're looking at a different kind of problem. The details live in the gap between the design file and the running product, and someone has to look in that gap.

I think that someone should be the designer.

What I mean by code to localhost

Here's the idea. The last stretch of handoff shouldn't be me pasting a Figma link in Jira hoping for the best. It should be me huddling with the developer, sending a PR or pulling their branch myself, and looking at the thing running on localhost.

That means:

  • Reviewing the build in a real browser, at real viewport sizes, with real content.
  • Giving feedback on the live result, not on a comparison between a screenshot and a frame.
  • Fixing small things together, or even opening a pull request myself for the tiny stuff like spacing, tokens and copy.
  • Signing off on the code, not just the file.

The handoff isn't finished when the developer says “done.” It's finished when the designer has seen it work in the browser and agrees it's right. A UX quality assurance of sorts.

Figma still has a job

I'm not saying throw Figma out. It's still where the thinking lives. It's where we explore, where we show the flow, where we document the decisions and the reasons behind them. It's where I spend most of my time tinkering. A good Figma file is the story of why the product looks and behaves the way it does. New teammates can read it. Future me can read it.

But documentation and source of truth are two different things. Figma should explain the intent. The code is what ships, so the code should be what we check against. Think of Figma as the map and the browser as the territory. You need both, but you don't judge the trip by the map.

What this changes in practice

When I started doing this, a few things happened.

First, the feedback got better. Instead of vague notes like “this feels off,” I could point at an exact element and say what's wrong. Second, I learned a lot about how things are actually built, which made my designs more realistic from the start. I stopped designing things that were painful to build. Third, the relationship with developers improved. We stopped being two teams passing a file back and forth and started being two people looking at the same screen.

It also cut down on the quiet frustration. Devs stopped getting nitpick lists that felt like they were coming out of nowhere, and I stopped holding my tongue when something looked wrong.

You don't need to be an engineer

This isn't a call for every designer to become a full-stack developer. You don't need to write production code. You need to be able to run the project locally, open it in a browser, and use the dev tools well enough to inspect spacing and styles. That's a weekend of learning, and it pays off for years. You can even fix the bugs yourself with Claude Code (or whichever tool your company uses).

The real shift is in mindset. Our job isn't done when the design is approved. It's done when the thing people use looks and feels the way we meant it to.

So keep the Figma file. Keep it tidy and keep it documented. Then go open localhost and finish the job there.