Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Zalando Engineering 10 min read Case study mediumAdept

An Introduction to the Zalando Design System

Zalando's web design system is layered on an extended atomic-design model: design tokens, "electrons" (a restricted CSS grammar like paddingTop_m), atoms (the only layer that touches CSS), molecules (generic React components) and team-owned organisms. Each layer changes at a different pace, and the architecture is shaped around that. The monorepo publishes one npm package per component plus a single shared CSS bundle, so adding organisms never grows the CSS and teams' JS bundles don't affect each other. GitHub code owners give feature teams ownership of their organisms. After two years and near-100% adoption, the remaining pain points are fragmented ownership of common components and keeping library releases in sync with the main app's separate deployment pipeline.

Assumes: React componentsCSS basicsnpm packages

Related posts

  • Theming the Zalando Design System

    Zalando Engineering mediumAdept

    Zalando built theming into its design system by extracting repeated values into semantic design tokens (e.g. `accent` instead of `orange`) and adding component-level tokens that reference global ones, so themes can change a button's padding without redefining global scales. Colour schemes (default, monochrome-dark, monochrome-light) are first-class within each theme to meet contrast requirements on image-derived banner backgrounds, which raises open questions about native dark mode. Tokens live in TOML files processed by Style Dictionary with custom transforms and formats that emit platform-specific artefacts for web, Android and iOS. Each theme is a partial dictionary deep-merged over the base theme. The tokenization process also simplified the design system and improved cross-platform parity.

  • How Thumbtack structures their design system

    Figma mediumAdept

    Thumbtack's Thumbprint design system is organized in three layers: design tokens shared by web and native, an atomic CSS library built on the tokens, and accessible React components on top. Higher layers trade flexibility for productivity, accessibility and consistency. When a component doesn't fit, developers drop to a lower layer, such as the unstyled ModalCurtain under the styled Modal. That lets teams adopt the system incrementally and gives maintainers a way to spot popular workarounds without making one-off API changes. Publishing and documentation overhead is handled with a monorepo (Yarn Workspaces, Lerna), a GraphQL API over the tokens, and docs that make the happy path prominent and the escape hatches subtle.

  • Design Systems @ Replit: Better Tokens

    Replit mediumAdept

    Replit rebuilt the token layer of its RUI design system, the base of a hierarchy running tokens → utilities → components → patterns → design guidance. Numbered and vague names like `foreground-3` or `font-size-medium` were replaced: colors are named by intended use on a theme-independent "dimmest → strongest" contrast scale, backgrounds by elevation (root → highest), and pixel-based tokens by their measure (`font-size-14`). The set shrank from 83 to 72 tokens even after adding line-height and border-width categories. Raw CSS variables, which let 30–50 typos slip through, were swapped for a typed Emotion `vars` object that gives autocomplete and errors on misspelled tokens.

  • Micro Frontends: from Fragments to Renderers (Part 1)

    Zalando Engineering easyNovice

    Zalando replaced its Mosaic micro-frontend architecture, built on team-owned page Fragments, with Interface Framework, a unified platform where pages are trees of typed Entities (Product, Collection, Outfit) mapped via declarative rendering rules to React Renderers that declare data needs in GraphQL. A Node.js/browser Rendering Engine resolves and renders the Entity tree chosen by the recommendation system, with built-in monitoring, batched A/B testing, deployment previews against production, and performance gates such as Lighthouse CI, bundle size limits and Web Vitals reporting. Moving teams into a monorepo with a shared stack lowered the entry barrier and improved UX consistency, at the cost of blurred ownership. A hybrid mode serving Fragments and Renderers together eased migration, and about 90% of traffic now runs on IF.

  • More Editorial Content, please.

    Zalando Engineering mediumAdept

    Zalando replaced a legacy, engineering-heavy landing page tool with a system built on the headless CMS Contentful, integrated into its Interface Framework via a Contentful proxy service behind the Fashion Store GraphQL aggregator, with modules mapped to renderers shared across web and app. Pages are composed from reorderable module entries, and other teams can contribute new modules, as the Sustainability team did with a certificate module that enriches Contentful-stored IDs with data from the same service used on product detail pages. Time-to-go-live fell from 2 days to 4 hours, the 2-week lead time was removed, and published landing pages rose 82% year over year.

The quest for software engineering knowledge.

Look:
Layout: