Write a developer handoff spec for this Figma component. Component: {component_name_and_purpose} Variants/states: {variants_and_states_description, e.g. "default, hover, pressed, disabled, and an error state with a red border and helper text"} Auto layout settings: {auto_layout_details, e.g. "horizontal, 12px gap, 16px/24px padding, hug contents width, fixed height"} Design tokens used: {tokens_used, e.g. "color-action-default for background, spacing-3 for gap, type-scale-sm for label text"} Responsive behavior (if any): {responsive_behavior_description} Produce a handoff document with these sections: 1. Overview — one sentence on what the component is and where it's used. 2. States/variants table — every state listed, with what visually changes in each (color, border, opacity, icon) referencing TOKENS where one exists, not raw hex/px values duplicated from the design tool. 3. Layout & spacing — exact padding, gap, and sizing behavior (fixed vs. hug vs. fill), described precisely enough to implement without opening Figma. 4. Interaction behavior — what triggers each state transition (hover, focus, click, disabled condition), and any transition/animation timing if specified. 5. Edge cases — how the component behaves with unusually long text content, in an empty/loading state if applicable, and at minimum/ maximum size constraints — these are the details most often left undocumented and discovered only during implementation. If any of the requested information wasn't provided, state what's missing rather than inventing a plausible-sounding value — a developer relying on a fabricated spacing value is worse off than one told to go check Figma directly for that one detail. --- Source credit for this prompt Original author: ai-prompt-library-team Original source: https://github.com/zidniryi/awesome-AI-prompt-library/blob/main/prompts/ui-ux/figma/write-developer-handoff-spec-from-figma-component.md Source collection: https://github.com/zidniryi/awesome-AI-prompt-library License: CC BY 4.0 — https://creativecommons.org/licenses/by/4.0/ Source license: https://github.com/zidniryi/awesome-AI-prompt-library/blob/main/LICENSE-CONTENT Changes: Prompt text unchanged. Extracted from the source document; title and usage guidance added by LandingPagePrompts. Keep this credit when redistributing the prompt. No creator endorsement is implied.