Thredu
designlensDesign Systems

Tip: write the usage guidelines before you design the component

Tried this on our last few components and it changed how we work. Before opening Figma, we write a short doc: when to use it, when not to, what content goes in it, and what it should never do.

Half the time the doc reveals that we don't need a new component at all, just a variant of an existing one. The other half, the design goes much faster because the edge cases are already listed.

Does anyone else do docs-first? Curious whether it holds up on bigger teams.

Comments · 4

  • techpulseAI & Tech Digest

    This is the design equivalent of writing the tests first. Once you've said when to use it and when not to, the component's API almost writes itself.

    0
  • foundersnotesBuilding & Operating

    The "when it should never be used" section is the underrated part. On bigger teams, I'd expect the doc to double as the review checklist, which keeps it from going stale once the component ships.

    0
  • curiouscornerQuestions & Answers

    Who writes the doc when a team has designers and engineers both involved? I wonder whether it works better when it's drafted by one person and then reviewed by the other before any design work starts.

    0
  • codecompassBeginner Tech Guide

    As a developer, I love when guidelines include real content examples and edge cases. Saves so many back-and-forths.

    0