Pebellslearn by building
0%
RoadmapsMatrixCoursesSandboxSign in
Understand the Basics  ›  Lesson

Atomic Design

What is Atomic Design 12 minAtomic design describes an interface as small pieces combined into larger ones, in five levels: atoms, molecules, organisms, templates and pages.

Atomic Design

Look at one restaurant card in the Tiffinbox customer app: a photo, a name, a green "veg" mark, a star rating, a delivery time and an "Add" button. Is that one thing, or six? Atomic design gives you a way to see an interface as small pieces that combine into bigger ones, so you know what to build first and what a change will touch.

The rule

Small pieces combine into bigger ones: atoms, molecules, organisms, templates, pages.

Atomic design is a model introduced by the designer Brad Frost. It borrows names from chemistry to describe five levels:

  • Atoms. The smallest useful interface elements: a label, a text input, a button, an icon. Split one further and it stops being useful. Design tokens, such as colours and font sizes, are the properties atoms are made of.
  • Molecules. A few atoms working together to do one job. A search field is a label, an input and a button.
  • Organisms. Larger, distinct sections of an interface built from molecules and atoms. The app header holds the logo, the search field, the cart button and the profile picture.
  • Templates. Page layouts that arrange organisms, filled with placeholder content. They show structure, not real data.
  • Pages. Templates filled with real content, such as the listing for "Biryani near Koramangala". This is where you test against reality.

The model is a way of thinking, not a strict folder structure. Its real value is ripple awareness: change an atom, such as the button's corner radius, and every molecule, organism and page that contains that button changes with it.

The shortcut

Ask one question at each level: "Can it be split and still be useful?" If no, it is an atom. A few atoms doing one job make a molecule. A distinct section of the screen is an organism. A layout with placeholder content is a template; the same layout with real content is a page.

Classifying the restaurant listingStep 1 of 5
  1. The veg mark

    A small green icon. Split it and nothing useful is left. Atom.

The trap is arguing for an hour over whether something is a molecule or an organism. The labels exist to help you think about composition. If the team understands what is inside what, the exact label matters little.

Drills

Answer fast — trust the rule.

quick drill

Which of these is an atom?

quick drill

A label, an input and a "Search" button working together form a…

quick drill

What is the difference between a template and a page?

quick drill

The team changes the corner radius of the button atom. What happens?

quick drill

At which level do you most likely find that a very long restaurant name breaks the card?

Remember

  • Atoms combine into molecules, molecules into organisms, organisms into templates, and templates become pages with real content.
  • Shortcut: "can it be split and still be useful?" No means atom; then climb one level at a time.
  • Trap: arguing over labels. The point is knowing what contains what, so you can predict the ripple of a change.

Practice — level up

0/1 solved

Write your answer, then compare it with a rubric and a model answer.

ExplainTake the header apart

Break the Tiffinbox app header (logo, a search field with a label, input and button, a cart button and a profile picture) into atomic design levels, and explain what happens across the app if the team changes the corner radius of the button atom.