If Your Handoff Is Just Pixels, Your Team Will Build Slop

Put purpose, logic, states, and edge cases in the design file, or engineers and coding agents will guess, and ship screens that look right and behave wrong.

Read Me Because

Handoff shouldn’t ask engineering—or a coding agent—to reverse-engineer product intent from a collection of pixels.

Explore this concept

The Field Guide

Methods and tools to design AI products people trust and keep using.

Evaluate this article paragraph by paragraph

Your team is losing time. You’re losing users’ trust. Nobody is translating intent into production-ready frontend behavior. So features go through round after round of fixes. What finally ships still isn’t quite what anyone on the team meant. It isn’t what any user wants either.

A handoff that records why, not just what, ends the guessing. It spells out why each component exists, what happens under pressure, and which details are non-negotiable. Engineers and coding agents build it without guessing, features ship without the extra rounds, and users can trust what they see.

The result looks close and behaves wrong

The translation tax appears in review rounds, inconsistent states, duplicated components, accessibility repairs, and the endless sentence: “That’s not quite what we meant.”

A generated component can look polished while calculating the wrong thing. A control can imply that data will persist when it only changes local state.

Designers need to document how the interface works

Designers make a Figma file useful by using consistent tokens rather than one-off values. Its components have purposeful variants. It defines empty, loading, error, partial, success, and recovery states. It shows long-content and responsive behavior. It names layers and frames predictably. It pairs real flow examples with component documentation.

The file should answer more than “What does it look like?”

It should also answer “What is this for? When should it appear? What can vary? What shouldn’t? What does the user need to understand? What happens next?”

Handoff becomes a conversation instead of a document drop

At Knurture, the design file and code are two views of the same system. The design file records the intended flows, states, and visual decisions. Code makes those decisions work through behavior, constraints, tests, and accessibility. The names and logic should mirror each other.

Design and code: two views of the same system
Design file
Flows
States
Visual decisions
Same component, same names
Code
Behavior
Tests
Accessibility

A component conversation is a shared record of one component’s design and code.

Fill-in card

One component conversation

Choose one component recently handed from design to code. Fill the fields with its design record, required behavior, working reference, and shared names and logic.

Figma
The flows, states, tokens, motion, examples, and edge cases the design file must show
Coded version
The behavior, constraints, tests, accessibility, and extension rules it must follow
Working reference
Where someone can inspect the working version
Shared names and logic
The names and logic that must match in Figma and code

A designer and engineer—or a design agent and coding agent—should be able to discuss the same component without translating vocabulary first.

Example

One component conversation: the frame from the opening

The team has a Figma layout and a coded version that looks close but behaves wrong. A useful component conversation would establish the intended behavior as well as the chosen appearance.

  • Figma: The chosen layout may not show why a component exists, when it should change, what happens under pressure, or which details are non-negotiable.
  • Coded version: Review the calculation and persistence behavior as well as appearance; a control must not imply saved data when it only changes local state.
  • Working reference: Inspect the coded version in Storybook or the product’s component environment, where its states can be exercised.
  • Shared names and logic: Record the same component names, variants, tokens, and state definitions in both views so corrections can be compared directly.

Full-page generation compounds errors

A wrong assumption in one component spreads across the whole implementation.

A vertical slice is a small end-to-end part of the product. The team takes one component or journey from design through working code before moving to the next part.

Sequence map

Vertical slices

Take each slice through these steps.

  1. Implement: Take one component or journey through working code, including its important states.
  2. Compare: Check the coded behavior, tokens, accessibility, and edge cases against the design record.
  3. Correct: Update the shared component or rule behind the mismatch, and record why it changed.
  4. Continue: Apply that correction to the next component or journey rather than repeating the same assumption.

Preserve the reasoning in the component and docs so the next slice inherits better judgment. If a correction is a durable rule, it belongs in the system.

If it matters to trust, it belongs in the artifact

A clear picture helps a coding agent reproduce a happy path. Behavior outside that picture still needs an explicit specification, so it can be implemented and checked without guessing. For example, if someone cancels the address form, put keyboard focus back on the “Add Delivery Address” button.

Explicitly design:

  • Focus, keyboard, and screen-reader behavior
  • Loading strategy: skeleton, optimistic, streamed, or blocked
  • Empty and error copy
  • Permission and approval states
  • Long text, localization, and responsive changes
  • Motion and reduced-motion behavior
  • Offline or partial-data behavior
  • Instrumentation events
  • Undo, rollback, and recovery

The consequence depends on the workflow. In a payment flow, a generic error leaves the user unsure whether money moved. A settings change needs to show whether the new value was saved or whether the previous value still applies.

A translation-tax audit

This audit finds where missing intent becomes extra review, rework, or an inconsistent state. A recent feature gives the team evidence from implementation rather than guesses about the handoff.

Choose a recent feature and ask:

0 of 6 done