Sub topic 12
Annotating and Documenting the Handoff
This chapter assumes you have read the earlier chapters. You should know how a design file is organized, what design tokens are, and how component states, responsive behavior, motion, and accessibility are specified. Here you gather those pieces into one set of annotations and documents that a developer can follow without asking you questions.
Why annotations matter
A design file shows what the result should look like. It does not show why a choice was made or what happens in cases the mockup skips. Annotations fill that gap. A good annotation answers a question the developer would otherwise have to guess at.
Common guessing points include:
- What happens when a title is three lines long?
- Is this spacing fixed, or does it grow with the screen?
- Does this card link somewhere, or is it only decoration?
What to annotate
Annotate only what the visuals cannot say on their own. Notes that repeat what the developer can read from the design add clutter and hide the notes that matter.
| Annotate | Skip |
|---|---|
| Behavior the mockup cannot show (loading, errors, truncation) | Values already shown by the inspect panel |
| Token names instead of raw values | Notes that restate the label on screen |
| Links between a screen and its component specs | Personal preferences with no requirement behind them |
| Decisions that differ from a pattern used elsewhere | Long design history |
| Open questions with an owner | Vague notes such as "make it pop" |
Writing a useful note
Each note should be short, specific, and tied to one element. Use the token name, not the raw value, so the note stays correct if the value changes later.
A weak note: "Add some space under the heading."
A strong note: "Heading to body gap: space-3. Body text wraps at 640px max width. Title truncates after two lines with an ellipsis."
Place the note next to the element it describes, or use a numbered marker that links to a list. Keep numbering stable between revisions, so that a developer's earlier comments still point to the right note.
Building the handoff document
Annotations on the canvas work best alongside one short document that serves as the entry point. Keep it in a place the developer already uses, such as the project wiki or the top page of the design file.
A useful handoff document contains these sections:
- Scope. What is included in this handoff, and what is not.
- Links. The design file pages, the prototype, the token file, and the exported asset folder.
- Components. A list of components, each pointing to its states, with new components marked.
- Responsive rules. The breakpoints and what changes at each one.
- Accessibility notes. Focus order, contrast checks, and text alternatives for images.
- Open questions. Each with an owner and a date.
- Changelog. What changed since the last version.
The following diagram shows how these pieces relate.
Keeping the handoff current
A handoff goes stale as soon as the design changes. Two habits reduce that risk:
- Date every version of the document and record each change in the changelog.
- Mark changed areas in the design file, for example with a "Changed in v3" label, so the developer need not compare screens by eye.
A short example
Suppose a card component has a title, an image, and a button. The annotation list for one screen might read:
- Card padding:
space-3. Card radius:radius-md. - Title: two lines maximum, then an ellipsis. Full title appears on the detail page.
- Image: exported as
card-thumb, WebP with JPEG fallback. Width and height are set to prevent layout shift. - Button: states documented on the "Button" page. Disabled until the form is valid.
- Open question: should the card be fully clickable or only the button? Owner: designer. Due: before build starts.
Every note is short, tied to one element, and uses names from the token file.
Exercise
A designer writes this note next to a heading: "Make the gap a bit bigger on mobile." Rewrite it so a developer can implement it without asking questions. Assume tokens space-2 (8px), space-3 (16px), and space-4 (24px) exist, and the breakpoint is 600px.
Show answer
Example: "Gap between heading and body: space-3 at 600px and wider, space-4 below 600px." The rewrite names the tokens instead of vague words, states the breakpoint, and says which value applies on each side of it. Any version that gives token names, a breakpoint, and a clear value for each case is correct.