36. Developer Handoff Basics
The Inspect panel is a developer's best friend in Figma. It shows exact spacing, sizing, colours, typography, and exports CSS/ iOS/ Android code automatically. You'll learn how to prepare designs for smooth handoff.
Step-by-step
- Select a frame or component in your design that you'd like to hand off
- Open the Inspect panel on the right side of the screen (the > icon in the upper-right toolbar)
- Inspect shows all properties: dimensions, colour fills, strokes, shadows, border radius, padding, gap, and typography
- Click the CSS tab at the bottom of Inspect — Figma generates CSS code automatically
- Copy the CSS and paste it into your code editor — colours become hex, spacing becomes px, typography becomes font declarations
- Switch to iOS or Android tabs to see platform-specific code (SwiftUI, UIKit, XML, Jetpack Compose)
- In Prototype mode, you can add comments to specific elements for developers — right-click an element and choose "Add comment"
- Share a prototype link with view-only access — click the Share button in the top-right, set to "Anyone with the link can view", copy the link
- Clean up your layers before handoff: rename layers meaningfully, remove unused elements, group logically
- Best practice: create a dedicated "Handoff" page in your Figma file with all ready-for-dev screens arranged clearly
Pro tip
The Inspect panel only shows detailed information for components and frames. Basic shapes show fewer details. For best results, build your UI with components, auto layout, and text styles — Inspect reads all of these automatically.