Handoff
Write a component spec for handoff
A fill-in structure for describing one component to a developer: anatomy, sizes, states, behaviour, content rules and accessibility.
Written by Inspireca Design (drafted with AI assistance)Updated Not yet reviewed by an editor
When and how to use it
Use this when a component is designed and someone else will build it. It turns the design into a short written spec so that states and edge cases are decided by the designer rather than guessed during development.
Read Design every state of a component first if the list of states is new to you.
The instructions
This is the complete file, exactly as it downloads.
--- name: component-spec-for-handoff title: Write a component spec for handoff description: A fill-in structure for describing one component to a developer: anatomy, sizes, states, behaviour, content rules and accessibility. version: 1.0.0 source: https://inspireca.design/skills/component-spec-for-handoff --- # Write a component spec for handoff ## Purpose Describe ONE interface component completely enough that a developer can build it without asking what happens in the cases the design file does not show. ## What you need - The component design, with its variants. - The design tokens in use (spacing, type, colour roles), if the product has them. - The platform or framework it will be built for. ## Steps 1. **Name and job.** One sentence on what the component is for, and one on when NOT to use it. 2. **Anatomy.** List the parts (for a text field: label, input, helper text, error text, leading or trailing icon). Mark each as required or optional. 3. **Sizes and spacing.** Height, padding, gaps between parts and minimum touch target. Use token names where they exist; otherwise give values. 4. **States.** For each state that applies, say what changes: default, hover, pressed, focused, filled, disabled, loading, error, success. If a state does not apply, write "not applicable" so it is clear it was considered. 5. **Behaviour.** What triggers each state change? What does the keyboard do (Tab, Enter, Escape, arrow keys)? Is anything animated, and for how long? 6. **Content rules.** Maximum length, what happens when text is too long (wrap, truncate or grow), and what is shown when there is no content. 7. **Accessibility.** The role, the accessible name and where it comes from, how errors are announced, contrast of text and borders in every state, and the focus indicator. 8. **Open questions.** Anything undecided, with an owner. ## Output A document with the eight headings above, in that order. Use tables for sizes and states. Keep sentences short. ## Rules - Do not invent values. If a size, colour or duration is not in the design, list it under open questions. - Describe behaviour in terms of what the person does and what they then see. - One component per spec. If you find yourself describing a second one, stop and start a second spec. - State the version of the design the spec was written from.
Versions
- Download v1.0.0
Version 1.0.0 (current)
22 November 2026 · First release.