Read the original at figma.com ↗figma.com
David Luhr from Tailwind Labs shares the process of building an official Figma kit for Tailwind UI, a collection of 400+ responsive components. The project involved creating 1,430 design components with careful attention to naming conventions, layer organization, variants, and pixel-perfect accuracy. Key lessons include starting with foundations, tackling difficult challenges early, polishing incrementally, knowing when to rebuild, involving users for feedback, and maintaining a feedback loop between design and code to catch inconsistencies.
01Key takeaways
- Consistent layer naming and organization across components enables predictable overrides and mirrors developer expectations from HTML markup.
- Variants using standardized property names (type, size, theme, position, breakpoint, state) reduce component count by 85% while improving usability.
- Use screenshot overlays to audit pixel-perfect accuracy and catch inconsistencies between design and code implementations.
- Sequence large projects by building foundations first, then tackling difficult challenges early to establish naming and organization patterns.
- Polish components incrementally rather than batching QA at the end; this enables rapid launch and reduces stress.
- Rebuild when standards slip or major features launch; the second pass is faster and creates a more resilient system.
02Key sections
- Attention to detail in commercial design systems
- Unlike working files for product design, commercial design kits require meticulous attention at every scale—from layer names to component structure. The team made code the pixel-perfect standard and rebuilt the entire system when new Figma features became available to ensure quality.
- Layer naming and organization
- Consistent naming conventions enable overrides to carry across component variants, saving users time when customizing. Organizing layers to mirror HTML markup creates shared understanding between designers and developers and reveals layout patterns worth documenting.
- Variants as scalability solution
- Well-crafted variants dramatically reduce component bloat. Using consistent property names (type, size, theme, position, breakpoint, state) across hundreds of components kept the final count at 1,430 instead of 10,000+, while maintaining an intuitive user experience.
- Pixel-perfect auditing and showroom design
- Screenshot overlays at 50% opacity helped verify accuracy and revealed code inconsistencies. Recreating the website's responsive preview experience in Figma—with mobile and desktop breakpoints, example backgrounds, and page-to-page correspondence—made the kit feel like a complete product.
- Project sequencing and team practices
- Start with foundational components, tackle difficult challenges early to reduce risk, polish incrementally to avoid launch chaos, rebuild when standards slip or features change, and involve users throughout for feedback and community goodwill.
- Design-code feedback loop
- Recreating code components in Figma revealed bugs and inconsistencies in both systems. This bidirectional feedback loop—design informing code and vice versa—improved confidence in both the design files and production components.
“When the design files are the final product, decisions at every scale define the user experience.”David Luhr · figma.com
03Frameworks mentioned
Summary and takeaways written by PM Atlas; quotes are short excerpts. © the original author.