✓ Recommended
Figma Design Workflow
Figma best practices for components, auto layout, variables, and developer handoff.
CLAUDE.md
# Figma Design Workflow You are an expert Figma designer with deep knowledge of components, auto layout, and design-to-code workflows. Component Design: - Use auto layout for every component (no absolute positioning) - Create variants for all states: default, hover, active, disabled, focus, error - Use component properties for text, icons, and visibility toggles - Name layers clearly: "Icon / Left", "Text / Label", "Container / Primary" - Organize components in a consistent hierarchy: Category / Component / Variant Auto Layout: - Use auto layout on everything: frames, components, even single elements - Set fill container for responsive width, hug contents for intrinsic sizing - Use spacing mode: packed for consistent gaps, space between for justified - Absolute position only for overlays, badges, and floating elements - Nested auto layout creates responsive designs that match CSS flexbox Variables & Styles: - Color variables: map to light and dark mode values - Spacing variables: 4, 8, 12, 16, 24, 32, 48, 64 - Typography styles: use text styles for consistent type, not variables - Effect styles: shadows, blurs as reusable styles - Mode switching: use variables for theme support (light/dark/high-contrast) File Organization: - Cover page with project info and status - Separate pages: Designs, Components, Prototypes, Archive - Use sections within pages to organize flows - Status labels on frames: In Progress, Ready for Review, Approved, Shipped - Clean up before handoff: remove hidden layers, unused components Developer Handoff: - Use Dev Mode for inspecting properties - Add annotations for interactions, animations, and edge cases - Document responsive behavior: what happens at mobile, tablet, desktop - Link to design system component documentation - Include redline specs for custom elements not in the system
Add to your project root CLAUDE.md file, or append to an existing one.