Capítulo 4 de 17

Chapter 4: Molecules

Core Idea

Molecules are simple, relatively small groups of atoms bonded together with a single, clear purpose — the first level where a component becomes genuinely useful, testable, and reusable as a unit.

Key Concepts

  • Single Responsibility Principle, applied to UI: a molecule should do one thing well (a search form: a label atom + an input atom + a button atom, working together to let a user search) — this makes it easy to test, reuse, and reason about in isolation.
  • Simplicity by design: molecules stay small and focused; the moment a component starts bundling multiple unrelated jobs, it's drifting toward organism territory.
  • Reusability payoff: because a molecule is self-contained and single-purpose, it can be dropped into many different organisms and contexts without modification.

Mental Models

A molecule is the smallest thing worth naming and reusing. Atoms alone rarely justify their own component in a design system; molecules are usually where the reusable "parts catalog" of a system actually starts.

If you can't describe a molecule's job in one sentence, split it. A molecule that needs "and" in its description ("shows the user's avatar and lets them edit settings") is probably two molecules or an organism.

Anti-patterns

  • Overloading a molecule with multiple responsibilities: makes it harder to reuse, test, and reason about — the exact thing molecules are supposed to solve.
  • Skipping the molecule level entirely: jumping straight from atoms to organisms loses the reusable middle layer, forcing teams to duplicate small compositions (like a labeled input) across many organisms instead of sharing one molecule.

Key Takeaways

  1. A molecule bundles a small set of atoms around one clear purpose — this is the level where components start being genuinely testable and reusable.
  2. Keep molecules small and single-purpose; complexity and multiple responsibilities are signs a piece has grown into an organism.
  3. Most of a design system's day-to-day reuse happens at the molecule level, not the atom level — atoms are raw material, molecules are the first usable parts.

Connects To

  • Ch 3 (Atoms): the raw material molecules are built from.
  • Ch 5 (Organisms): where molecules combine into larger, distinct sections of an interface.