Lesson 8 of 9
Handoff: Bridging Design to Development
The design-to-development handoff is where great designs often die. Misunderstood specs, missing states, undefined interactions, and ambiguous motion cause the final product to diverge from the design. A systematic handoff process is the final step in design responsibility - ensuring your work is buildable and built correctly.
What a Complete Handoff Includes
- All states and variants: Every component must show default, hover, active/pressed, disabled, focused, error, loading, and empty states. Missing states become undefined behavior in production
- Responsive breakpoints: Show all defined breakpoints (mobile 375px, tablet 768px, desktop 1440px) with layout specifications for each. Don't assume developers will guess the responsive behavior
- Interaction specifications: Document animations with: property animated, duration (ms), easing function, trigger, and any special conditions. Attach motion reference videos for complex animations
- Spacing and sizing: Every padding, margin, gap, and size value must be exact. Use Figma's Dev Mode to auto-expose these values. Confirm spacing uses your design system tokens (8px grid)
- Content/copy specifications: Final, approved copy for every state including error messages, empty states, and edge cases. 'Loading...' text, character limits, truncation rules
- API dependencies: Note which data fields need real backend data vs static prototype data. Flag any data the UI requires that may not yet exist in the API
Figma Dev Mode: The Professional Handoff Tool
# Figma Dev Mode - accessed via the </> icon (Figma premium)
# WHAT DEVELOPERS SEE IN DEV MODE:
# → Auto-measured spacing between elements
# → Color values in HEX, RGB, HSL, or CSS variable format
# → Typography: font-family, size, weight, line-height, letter-spacing
# → Border radius, border width
# → Box shadows with exact values
# → Auto-generated CSS code snippets
# → Component properties and their values
# COMPONENT DOCUMENTATION (do this in Figma)
# Add a description to each component explaining:
# 1. Purpose and when to use it
# 2. Props/variants and what they control
# 3. Usage restrictions ("Never use without label")
# MOTION HANDOFF PROCESS:
# 1. Export Smart Animate specs from prototype
# 2. Document in code block beside the component:
transition: opacity 300ms cubic-bezier(0, 0, 0.2, 1),
transform 300ms cubic-bezier(0, 0, 0.2, 1);
# 3. Record a short screen capture of the prototype interaction
# 4. Attach to handoff Jira/Linear ticket
# DESIGN TOKENS IN CODE
# Figma Variables → exported as CSS custom properties / design-tokens.json
# Use Token Studio plugin to sync Figma tokens → GitHub → codebaseDesign QA: Closing the Loop
- Design implementation review: Review built features against the original design spec before release - not all at once but iteratively as each component ships
- Red-lining: On top of a screenshot of the built feature, annotate discrepancies with red lines or arrows. 'This spacing should be 16px not 12px', 'This font should be medium weight'
- Regression awareness: When dev makes layout changes for engineering reasons, those changes can break nearby designs. Establish a process for designers to review any layout change
- Automated visual testing: Tools like Percy, Chromatic, or BackstopJS can detect pixel-level regressions between design system components automatically - integrate into CI/CD for large teams
- Accept reasonable deviation: Some design decisions are impractical at scale (custom fonts causing performance issues, animations that don't work across browsers). Know which details are negotiable
Tip
Tip
Practice Handoff Bridging Design to Development in small, isolated examples before integrating into larger projects. Breaking concepts into small experiments builds genuine understanding faster than reading alone.
Handoff: Bridging Design to Development: Visual guide and core principles.
Practice Task
Note
Practice Task - (1) Write a working example of Handoff Bridging Design to Development from scratch without looking at notes. (2) Modify it to handle an edge case (empty input, null value, or error state). (3) Share your solution in the Priygop community for feedback.
Quick Quiz
Common Mistake
Warning
A common mistake with Handoff Bridging Design to Development is skipping edge case testing - empty inputs, null values, and unexpected data types. Always validate boundary conditions to write robust, production-ready ui ux code.
Key Takeaways
- The design-to-development handoff is where great designs often die.
- All states and variants: Every component must show default, hover, active/pressed, disabled, focused, error, loading, and empty states. Missing states become undefined behavior in production
- Responsive breakpoints: Show all defined breakpoints (mobile 375px, tablet 768px, desktop 1440px) with layout specifications for each. Don't assume developers will guess the responsive behavior
- Interaction specifications: Document animations with: property animated, duration (ms), easing function, trigger, and any special conditions. Attach motion reference videos for complex animations
Finished this lesson?