Read the original at figma.com ↗figma.com
Figma introduces Variants, a feature that lets designers organize multiple component states and properties within a single component set, mirroring how developers structure code. The feature emerged from close collaboration with design system managers and multiple rounds of usability testing. By supporting key:value pair naming conventions and multi-dimensional variations, Variants reduces friction in design-to-development handoffs and simplifies component library management. The naming itself evolved from "States" to "Variants" based on user feedback that the feature's scope extended beyond interactive states to any property type.
01Key takeaways
- Observe how users actually work (e.g., grid layouts for comparing variations) to inform feature architecture and migration paths.
- Test UI patterns against user mental models; pills work for tagging but confuse users when representing property values.
- Generic naming ("Property 1") prompts customization better than prescriptive defaults ("State", "Style").
- Validate feature names with users; a name that undersells scope can limit adoption and understanding.
- Bridge design and code by adopting naming conventions and organizational structures that developers already use.
02Key sections
- Embracing the tension between code and design
- Design and code have competing needs: design requires freedom to iterate, while development demands rigor and reusability. Figma's challenge was to give teams tools that honor both perspectives without forcing one approach.
- Aligning how designers and developers think
- Design system managers used workarounds like forward-slash naming to organize component variations. Variants introduces key:value pair naming (e.g., state="hover") and multi-dimensional support so Figma components mirror code structure more closely.
- Refining the UI through usability tests
- Four rounds of usability testing over six weeks revealed that showing all property values as pills confused users. The team switched to a dropdown design for individual variants while keeping pills for viewing entire component sets.
- Figuring out the right feature name
- Initial name "States" was too narrow and didn't capture the feature's flexibility across any property type. User feedback from Fidelity Investments prompted a rename to "Variants," which better represented the scope and was validated in subsequent testing.
03Frameworks mentioned
Summary and takeaways written by PM Atlas; quotes are short excerpts. © the original author.