Using a design system
Who this is for
Section titled “Who this is for”Design and engineering.
When to use it
Section titled “When to use it”When you choose UI building blocks for a project.
- Must: Decide in writing whether this project uses an existing system (client, product, or open), starts a small local set, or ships one-off UI. Do not assume a Citrusbits-wide system exists.
- Must: If you use a system, use it. A one-off component that copies a system component needs a reason on the ticket.
- Must: New shared pieces (tokens, components) are reviewed by design and engineering before they spread. See Handoff.
- Should: Prefer the system the client or product already has over inventing a parallel one.
- Should: Keep the local set small. A “design system” that is twenty undocumented buttons is not a system.
- Team decides: Which library or kit (if any), and where tokens live. Web implementation follows React / Next.js.
What good looks like
Section titled “What good looks like”A new screen is assembled from named pieces, or the ticket explicitly says this slice is one-off — and nobody is reverse-engineering spacing from screenshots.
What to do
Section titled “What to do”- At kickoff or first UI work, record: reuse / start local / skip.
- Put the chosen kit or token location in the repo README or design file.
- When you need a new piece, check reuse first, then add it in the same change that needs it.
- If the choice is expensive to reverse, write a decision.