Build · KATA criteria
Useful components
A component created too early ends up with ten parameters and serving every case poorly.
How this guide was prepared
What you are reading
This is when KATA creates a component. Our own criteria.
Our own criteria versus external standards
- Our own criteria: Construction decisions, thresholds and order are KATA methodology.
- Observed experience: Lessons from our own projects. Not quantified or presented as industry data.
- External standard: Third-party standards or thresholds identify an official source, organisation and date.
The full methodology is in the KATA method.
Direct answer
A component is created on the third occurrence, rather than the first. Two cases cannot reliably distinguish patterns from coincidence.
It emerges from an observed pattern, rather than predictions. Premature components accumulate options for cases that never occur.
What becomes a component
| Situation | Decision |
|---|---|
| Three identical occurrences. | A component. |
| Three similar occurrences with fundamental differences. | Two separate components, rather than one with options. |
| Two occurrences. | Not yet. Duplicate and wait. |
| One occurrence “certain to recur”. | No. Prediction is not a pattern. |
| More than three or four options needed. | A sign of several components mixed together. |
Sometimes duplication is correct
Two duplicate fragments are easy to unify later. A wrong component is difficult to undo once people use it.
We prefer early duplication to premature abstraction. One costs repetition; the other costs architecture.
Signs of a wrong component
- An option named
variant,typeormodewith five values. - Conditionals change structure rather than appearance.
- Using it requires reading its code.
- Every new use adds another option.
- Nobody edits it because users are unknown.
Where this criterion does NOT apply
- Cross-project component libraries, where generalisation is the goal.
- Large teams where duplication increases coordination costs.
- Established design systems with usage-validated components.
Frequently asked questions
Why three rather than two?
This is our criterion, not a law. Two occurrences rarely reveal what is common versus circumstantial. A third usually clarifies it.
Do components make websites generic?
They make them consistent. Defaults and absent decisions make them generic. A consistent site-wide button is useful; a button identical to every other website's is different.
Next decision
Continue with a specific question


Rebuilding and improving existing websites
What we can address with you and how we define the work.
Rebuilding and improving existing websites →
Conceptual illustrations; these are not client photographs.