Faragiri
English

Choose a language 2

Learn Design systems Interface design · Tokens, Component libraries, Documenting a system and 1 more

A credit union's kit: where a system sits between parts and rules, the component count that is not the achievement, and the two changes that break screens silently.

4Branches
4Nodes below
3Depth

Recommended Before This

0 / 2

Two teams asked the same question in the same week: can I change the corner radius on this card. The answer decides what kind of thing a design system is, and most systems have never said it out loud, which is why the answer is different depending on who is asked.

Nkechi runs the system for a credit union in Abuja: three product teams, two platforms, 44 published components. The first page of its documentation is one sentence saying where it sits between a box of parts and a set of rules, and that sentence saves more arguments than the components do.

Say how opinionated it is, on the first page

A system sits somewhere between a library and a rulebook, and it has to say where. At one end it is parts: here is a button, here is a card, compose them however the screen needs. At the other it is compositions: these are the six page layouts, this is the only card that may appear in a list, and anything else is a request rather than a decision.

Four kits, one axis

How much a team is allowed to decide for itself

The position is a consequence of who is staffing the product teams, not of how good the system is.

Placed by how much a consuming team may change without asking. A judgement, and it is Nkechi's.

A box of partsA rulebook
  1. An icon setTake what you need. There is nothing here to disagree with
  2. A component libraryButtons and cards, composed however each screen needs them
  3. A themed kit with tokensParts plus values, and changing a value is a conversation
  4. Six approved layoutsWhere Abuja sits. Anything else is a request with a version number

Nothing on the left is immature and nothing on the right is authoritarian. A team with a designer on every product can work at 0.3 and stay consistent; two teams without one cannot, and the rulebook is what stands in for the person they do not have.

Modular Type Scale & CSS Flex/Grid Motion Lab

Test harmonic typography ratios and live Flexbox/Grid layouts with 1-click CSS export.

Neither end is correct and the position is a consequence of the organisation rather than of taste. Three product teams and no dedicated design staff on two of them pushes towards the rulebook, because a rulebook is how a team with nobody to ask still ships something consistent. Nkechi's sits closer to that end than most designers find comfortable, deliberately, and the documentation says so in the second sentence.

What that position changes is the shape of every conversation afterwards. Near the library end, a corner radius is a team's decision. Near the rulebook end it is a change request against the system, with a version number attached. The values underneath both are values named once and used everywhere.

Three loose modular oak blocks on a dark basalt slab contrasted beside a tightly stacked four-block composite cube on muted sage-emerald cloth.
State upfront on page one whether your design system supplies open modular primitives or tightly opinionated composite patterns.

The published count is not the used count

The system began the year with 40 components. Teams contributed 12, eight were deprecated and removed, and it now publishes 44. That arithmetic is the easy half and it is the half that gets reported.

One year

Where the component count went, and what it does not tell you

The published number rose by four, and the number anybody actually uses is a different number entirely.

Published components over one year at the Abuja credit union, which is invented; the shape is the ordinary one.

  1. 40Published a year ago
  2. 12Contributed by teams
  3. -8Deprecated and removed
  4. 44Published now

Of the 44, twenty seven are used on a real screen and six have never been used outside the team that contributed them. A count of what exists is the easiest number in a system to report and the least useful one to read.

The number that matters is different: count what is used, not what is published. Of the 44, eleven appear on more than one product and six have never been used by anybody except the team that contributed them. A system with 44 components and 27 in real use is not a system with 44 components, and treating the published figure as the achievement is how a kit accumulates parts nobody asked for.

Adoption is the share of screens built from the kit, and it is the only number worth putting in front of whoever funds the work. Nkechi measures it by counting screens with no locally defined components in them, which is crude, cheap and honest, and it moved from 41 to 68 over the year while the component count barely changed. Building and keeping the kit itself is building the kit, in design and in code.

Five questions a component page answers

A component page answers five questions, and one of them is when not to use it. What it is for, when not to use it, the properties and their allowed values, the states, and what it owes somebody using a keyboard or a screen reader. The second is the one almost every system leaves out and the one that prevents the most damage, because a component used in the wrong place is a worse outcome than a component nobody found.

One component page

Five questions every entry has to settle before a team uses it

The second pillar is the one most systems leave blank, and it is the one that stops a page alert from replacing a field error.

A component page teams can rely on
  • What it is forThe real job the part does on a screen
  • When not to use itSay where another pattern belongs instead, such as field errors vs page alerts
  • Props and allowed valuesWhich choices exist and which combinations are invalid
  • All interactive statesDefault, focus, disabled, loading and error in one place
  • Keyboard and screen readerFocus order, role and announcement obligations

Shared design and code contract

A component used in the wrong context causes more rework than a component nobody found. Writing the negative boundary near the top saves screens before they are built.

Nkechi's page for the alert component says, in the second paragraph, not for validation errors on a field, use the field's own message. Before that sentence existed, three screens put a page level alert above a form to say one postcode was wrong. What else belongs on that page is what a component's page has to answer.

Minimal overhead walnut plank pairing one carved dark basalt master block on the left with five matching celadon-sage ceramic vessels on the right.
Every strong component doc answers five clear questions: when to use it, when not to, its anatomy, its states, and its accessibility contract.

Versioning, and the two things that break

A prop rename is a breaking change, and so is a height change. The first is obvious and the second surprises people every time: making a button 4 px taller does not break a build, it breaks every screen where the button sat in a row with something else, and it arrives silently in whichever release the team next picks up.

Release rules

How a breaking change and a removal actually get shipped

Renaming a prop breaks a build noisily; changing height breaks layouts silently; removing without a date removes nothing.

What kind of component change is going into the next release?
  • Prop rename or height change
    Treat as a breaking releaseBoth alter existing screens, whether the compiler notices or not
    • Prop renames fail builds right away
    • Adding 4 px to button height breaks adjacent rows silently
    • Bump the major version so teams opt in deliberately
  • Retiring an old component
    Deprecate with replacement and dateUndated warnings leave old parts in the picker for years
    • Name the successor component beside the old one
    • Set a concrete removal date six months ahead
    • Delete on schedule so new screens stop choosing it

The eight components removed at the credit union each carried both a named replacement and a six-month removal date, which is why they actually left the kit.

Removal needs a shape of its own. Deprecate with a date and a replacement, or nothing is ever removed: a component marked deprecated with no successor and no date stays in the kit for years, appearing in the picker beside its replacement, and new screens keep choosing it. The eight removed above each carried both, and the date was six months out.

The stall is treating the kit as a deliverable

It gets built, launched, presented, and then staffed at zero. Requests arrive and go unanswered, teams need something the kit does not have, and they build it locally, correctly, because they have a date. Within a year the system is a historical artefact that most screens no longer resemble, and everybody involved did the reasonable thing.

Where systems stall

How a kit built as a one-off project turns into an artefact

Every team acts reasonably to hit its own shipping date, yet the system stops resembling live screens within a year.

The diagnostic question is simple: who answered the last component request, and how long did it take. If nobody can name that person, the weak link has already snapped.

The kit is a product, and it has users who do not work for you, which is the sentence that changes how it gets funded. The tell is a question with an uncomfortable answer: who answered the last request, and how long did it take. If nobody can name them, the kit is being maintained by goodwill, and goodwill has a known half life. Contribution, versioning and the drift that follows are contribution, versioning and drift.

Orderly wooden sample blocks resting on emerald-teal linen in front of a glass-fronted specimen cabinet holding neatly stacked reference modules.
A design system fails when treated like a finished specimen cabinet: its value lies in shipping consistently inside live products.

What to open

Figma has been the default since 2019 when it took the seat from Sketch, and the mechanism that matters at this scale is the published library: teams consume a version rather than a file, so a change lands when they accept it rather than the moment it is made. That single property is what makes versioning above possible at all.

What to open

Where published libraries, token compilers and layout rules meet

Figma handles versioned parts and Style Dictionary compiles shared tokens, while unplanned screen sizes still require human layout judgement.

  • Figma published libraries
  • Style Dictionary
  • Responsive layout rules
Versioned system across platforms
  • Figma published librariesDefault since 2019; teams pull a version instead of live file edits
  • Style DictionaryOpen-source standard since 2018; turns one token file into iOS, Android and CSS
  • Responsive layout rulesDecides when six approved layouts bend to four on unexpected widths

Tools turn versioning and cross-platform naming into routine operations, yet they cannot decide when a strict layout rule has to bend for a viewport nobody anticipated.

For the values, Style Dictionary has been the standard way to turn one token file into iOS, Android and CSS since about 2018, and it replaced maintaining three lists of colours that agreed on the day they were written. It is free and open source, and it is the difference between a token being a name and a token being the same name in three places.

What none of it answers is what happens on a screen size nobody planned for, where a rulebook's six layouts become four, and the rule has to bend or break: one interface, every screen size. The parts being versioned are the parts an interface is assembled from, and the values under those are making an interface look considered.

Inside this, 4

Alongside this

Above this