Skip to main content
Take the diagnostic

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
KATA working criteria

What you are reading

This is when KATA creates a component. Our own criteria.

Nature
KATA working criteria
Responsible organisation
KATA WEB SYSTEMS
Editorial owner and approver
Ramón Carmona
Method version
KATA method v1.0 · frozen on 2026-08-26
Reviewed
2026-08-30

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.

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

What becomes a component
SituationDecision
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, type or mode with 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

Conceptual illustrations; these are not client photographs.