Faragiri
English

Choose a language 2

Learn Handoff Interface design · Specs, Assets, Working with developers

A warehouse screen handed over with every padding correct and four behaviours undecided: the states nobody specifies, the longest string, and who owns a token.

3Branches
3Nodes below
3Depth

Recommended Before This

0 / 2

The measurements were never the problem. Every design tool has printed distances and colour values for years, and a developer can read them without asking. What is still missing at handover is everything the file cannot contain, which is what the screen does rather than what it looks like.

Bogdan is handing over a stock count screen for a warehouse in Bucharest. Six frames, all measured, all in the shared library. The build came back three weeks later with the right paddings and four behaviours nobody had ever decided.

A file shows what it looks like and a spec says what it does

That sentence is the whole division of labour. The file settles the 16 px gap. The spec settles what happens when the barcode scanner returns a code that is not in the list, which is not a visual question and has no home in a frame.

One stock count screen

What the handover actually settled, and what it left open

The third column is the reason this figure exists: nobody deciding is a different fact from somebody deciding no.

Ready to build

  1. YesSizes, spacing and colourIn the file, measurable without askingYes
  2. YesThe empty shelfDrawn, with the sentence it showsYes
  3. YesThe longest product name68 characters, with a truncation ruleYes
  4. Not checkedBehaviour offline in the far aisleQueued or refused. Nobody chose, and it changes the architectureNot checked
  5. NoWhat a failed scan doesDecided by the developer alone, three weeks inNo
  6. Not checkedWho may change a tokenNever discussed, and both sides can editNot checked

Two unknowns and one no is a good handover rather than a bad one. The failure is a sheet with no unknown column, where every row reads yes because nobody was asked the question.

Modular Type Scale & CSS Flex/Grid Motion Lab

Test harmonic typography ratios and live Flexbox/Grid layouts with 1-click CSS export.

Four states carry most of the missing decisions, and they are missing on nearly every handover: specify the empty, loading, error and offline states. Bogdan's screen has all four in the warehouse. Empty is a shelf with no expected stock. Loading is the two seconds after a scan. Error is a code that does not resolve. Offline is the far aisle, where there is no signal, and it is the one that changes the architecture rather than the screen, because it decides whether counts are queued or refused.

The fifth is not a state but a limit. Give the longest string you have, not a representative one: the product names in this warehouse run to 68 characters, and the frames were drawn with a 22 character example. Everything below that in the spec, the truncation rule, the tooltip, the two line variant, exists only because somebody looked up the longest one. What else belongs in the written half is sizes, states and behaviour written down.

A layered dark walnut and plywood architectural sample box paired with a precision sliding stainless-steel latch mechanism on muted sage linen.
Mockups show static surface appearance, whereas a handoff specification documents states, edge cases, and interactive behavior so engineers do not have to guess.

Assets are named for the component, not the screen

Name the asset for the component, not for the screen: icon-scan rather than stock-count-top-right. The second name is accurate on the day it is written and wrong the first time the icon appears anywhere else, and then there are two files of the same drawing with different names.

Exports and assets

Three rules that keep exported assets traceable to the file

Naming assets by component, matching format to medium and auditing the build count prevents duplicate icons from sneaking into code.

  1. 01Name for the component, not the screenUse icon-scan instead of stock-count-top-right so reuse never creates two names for one drawing
  2. 02Pick SVG for icons and sized rasters for photosVectors scale cleanly as shapes; photographs need explicit pixel dimensions instead of legacy multipliers
  3. 03Audit the build count against the design fileEvery asset in code must map back one-to-one, catching icons a developer redrew when exports went missing

Bogdan's warehouse build differed from the design file by nine assets, every single one an icon a developer drew from scratch after failing to locate the export.

The format rule is short. Export icons as SVG and photographs as raster, because an icon is shapes and scales for nothing, and a photograph is pixels and an SVG of one is a very large file containing a photograph. The raster exports need a size each rather than a multiplier, and the multiplier habit is left over from a time when there were three screen densities instead of a continuum.

The part that gets skipped is the audit: every asset in the build should be traceable to one in the file, and the count should match. Bogdan's did not, by nine, all of them icons a developer had drawn because they could not find the export. The naming and format detail is exports, formats and naming.

Three things to agree before anybody starts

Agree the breakpoints and the component names before the build starts. Breakpoints because a developer who picks their own will pick device widths, and the design was made at content widths, and the two sets never coincide. Component names because the name in the file and the name in the code are going to diverge on day one otherwise, and every conversation afterwards needs a translation step that somebody eventually gets wrong.

Before anybody starts

Three agreements that stop file and code from drifting apart

Breakpoints, component names and token ownership take ten minutes to settle upfront and save weeks of translation errors.

Zero-translation build
  • Content-width breakpointsAgree where content breaks rather than letting code invent device widths
  • Identical component namesMatch names in design and code on day one so conversations need no translation step
  • Single token ownerDeclare whether the design file or stylesheet is the source of truth for values

Written down before the first line of code

If a colour value can be edited independently in both the design tool and the stylesheet, the two will disagree within a month with nobody at fault.

The third is ownership. Write down who owns the tokens: if a colour value can be changed in the design file and in the stylesheet independently, it will be, and the two will disagree within a month with nobody at fault. One of the two is the source and the other follows, and the only thing that matters is that it is written down. What else to settle in that first conversation is what to agree before the build starts.

Two identical stepped brushed-steel calibration gauges bolted flush onto matching walnut blocks over deep emerald-teal cloth.
Agreeing early on tokens, component states, and target breakpoints prevents late-stage mismatches between design files and production code.

The stall is a handover that is an event

The design is finished, a meeting is booked, the file is walked through, and the developer starts. Every question after that meeting is an interruption, so the developer answers most of them alone, correctly, in a way nobody would have chosen. Three weeks later the review finds forty small divergences and everybody is annoyed, and none of it was anybody's mistake.

Three things, three sides

The side neither person can see from where they are standing

A designer compares the file with the browser and a developer compares the code with the browser, and nobody compares the file with the code.

  • Read at handover, once
  • What shipped, and the only side users see
  • Compared at review, three weeks late
  • The file
  • The code
  • The browser
  • The fileEvery measurement, and nothing about behaviour
  • The codeEvery behaviour, decided by somebody with a deadline
  • The browserWhat a person in the warehouse actually meets

The marked side is checked last and by nobody in particular, which is why the divergences arrive in a batch rather than one at a time.

That is where handoff stalls, and it stalls because a handover is easy to schedule and a conversation is not. The tell is a number. Count the questions the developer asked between the meeting and the review. If the answer is under five on a screen of any size, they were not asking, and the four behaviours in Bogdan's build were decided in that silence.

A sealed kraft architectural drawing roll lying untouched on a sage-covered table beneath two separate dark studio lamps and facing wooden chairs.
Treating handoff as a one-time file drop stalls delivery; ongoing collaboration before and during build turns static specs into working software.

What to open

Figma Dev Mode has done the measuring half since 2023, and it replaced a designer drawing red arrows on a screenshot, which is a job nobody should ever have had. Its inspect panel prints the values and its comparison view shows what changed between two versions, which is the thing that catches a spec drifting after handover. Dev Mode sits on a paid seat, and that is worth knowing before a team plans a handover around it.

What to open

What handoff tools expose vs the design decisions they cannot supply

Dev Mode measures pixels and a repository spec tracks text beside code, yet neither can invent missing states or component boundaries.

  • Figma Dev Mode inspect and diffPrints values and tracks file changes since 2023 on a paid seat
  • Plain spec page in the code repoFree markdown reviewed beside code where developers already work
What tooling shows vs what had to be decided
  • Empty, loading, error and offline statesMissing flows are a design gap, not a handoff tool failure
  • Shared component vs one-off forkDecides whether patterns stay unified across screens
  • Token edit authorityMinimal governance over who may change shared values

Pairing an inspect tool with a repository spec removes measurement guesswork, yet it still relies on the upstream decisions already being settled.

The written half needs somewhere plain, and a page in the same repository as the code beats a document in a design tool, because it is reviewed alongside the change and it is where a developer already is. It replaces a specification that lives where only designers go, and it costs nothing.

What none of this fixes is a design that had never decided the four states, which is not a handover failure at all. Whether the states exist is settled in the sequence of screens a task actually takes, and whether the component is one component or a fork is the parts an interface is assembled from. The rule about who may change a token is the smallest possible version of a shared kit, and the rules for using it.

Inside this, 3

Alongside this

Above this