Documentation As a Design Medium

Good documentation does more than record how a system works. It captures why decisions were made, what constraints shaped them, and how future contributors can build on that foundation without repeating past mistakes. For digital design, that kind of context is especially critical — the field sits between art and engineering, and the documentation needs to reflect that hybrid nature.

Code documentation gets plenty of attention, but design documentation is a different challenge. It has to speak to both designers and developers, explaining not just visual choices but the reasoning behind them. When done well, it becomes a shared reference point that keeps teams aligned and prevents the slow drift that happens when institutional knowledge lives only in people's heads.

Why It Matters

Three practical benefits make documentation worth the effort:

  • Less technical debt. Writing decisions down forces clarity. A documented rationale is harder to gloss over than a code comment, and it gives future maintainers the context they need to make informed changes rather than guessing.
  • Continuity. Tech has a high turnover rate. When someone leaves, the knowledge in their head leaves with them. Documentation preserves that institutional memory so teams don't have to rediscover hard-won lessons.
  • Fewer repeated mistakes. Some conventions exist for good reasons that aren't obvious at first glance. Documentation surfaces those reasons, letting people move forward with confidence — or challenge the rationale if it no longer holds up.

A good document, in other words, is a statement of principles. It explains the "why" behind the "what," so that people don't just follow rules but understand them.

Bridging Two Cultures

The gap between design and engineering isn't new. In 1959, C. P. Snow described the disconnect between the sciences and humanities as a barrier to progress — a polarization that diminished both sides. The same dynamic plays out in web development daily. Designers and engineers speak different languages, work with different tools, and often hold different assumptions about what "done" means.

Yet the most interesting work happens at the intersection. Web design is inherently a hybrid discipline, combining visual aesthetics with technical constraints, interactivity, and responsiveness. Its documentation should be equally hybrid — a common language that draws from both worlds rather than choosing one.

That means design docs should be more than static reference manuals. They should be interactive, explorable, and alive — something you can play with before you read a word. A living document tells a story through its own design, demonstrating the principles it describes rather than just stating them.

The payoff is a shared vocabulary. Engineers see the reasoning behind design decisions; designers understand the technical realities shaping what's possible. That common ground is where better products come from — and where teams stop tripping over avoidable misunderstandings.

What Design Documentation Needs to Cover

Design documentation, technical documentation, and design systems often blur together, but the underlying goal stays the same: establish a visual identity, explain the principles behind it, and supply the resources needed to implement it consistently. What belongs in those documents varies by project, but typical sections include design principles, typography, component libraries, illustration, photography, iconography, color, branding, accessibility, and sound.

Explain the Reasoning, Not Just the Rules

It’s natural to focus documentation on the concrete outputs — the fonts, colors, and components. But the rationale behind those decisions matters just as much. Teams need to understand where the design came from, what vision it serves, and which guiding principles shaped it. The BBC’s Global Experience Language (GEL) is a strong example: its public guidelines and design patterns sit alongside articles and playbooks that explain the system’s underlying ethos. Proposal documents and work practices should be included when they exist, and the intended audience for the designs should be stated up front. Skipping the guiding principles leaves the documentation without context or direction.

A screenshot from Global Experience Language website, which includes guidelines, articles, and playbooks on its menu
(Large preview)

Collaboration Is a Requirement

Design systems touch design, engineering, copywriting, accessibility, and sometimes legal. Documentation should reflect input from all those disciplines, especially in larger organizations. If the documentation is created in isolation, there’s little reason to expect its implementation to be any more collaborative. The process of writing the docs sets the tone for how the system will be used.

Choose Platforms That Stay Current

Printed brand guidelines no longer suffice. Design documentation needs to live where the work happens, and several tools support that workflow: Storybook, Figma, Sketch, Zeplin, InVision, GitHub wikis, and component libraries. These platforms often connect — Figma can feed into Storybook, which can integrate directly into a codebase. Treating documentation as an ecosystem of connected tools, rather than a static artifact, accommodates agile development. The tighter the integration with the code base, the more naturally the documentation stays in sync with the product.

Write for Real Use Cases

The philosophical side of design documentation matters, but the system exists to be used. Documentation should show readers how to apply the guidelines, not just describe them. Practical examples include how to build a React component using design system fonts or how to pick appropriate colors from a palette. Sections like typography and color can be broken down into actionable steps: what the feature is, what knowledge is needed, which use cases it serves, how to implement it, and what tooling to use. The Mailchimp Pattern Library demonstrates this approach well, with use cases, contextual notes, and example code woven directly into the documentation.

Documentation should help people to achieve their goals rather than describe how things work.

Carolyn Stranksy’s talk “Humanising Your Documentation” offers a thorough look at making documentation serve its users. The principle echoes Jeff Atwood’s observation that a well-designed system makes the right actions easy and the wrong ones annoying rather than impossible. Use-case-driven documentation, as outlined by Tyner Blain and by Smashing’s own Vitaly Friedman, puts the emphasis on outcomes and outputs, not process.

Language Sets the Tone

Wording matters as much as structure. Documentation should be clear, accessible, and inclusive. Words like “just,” “merely,” and “simply” imply that struggles are the reader’s fault. Neutral pronouns — “they,” “the developer,” or “one” — help make the resources feel welcoming to everyone. Plain, direct prose is the goal, and several tools can help enforce it, including Alex, which flags insensitive or inconsiderate phrasing, and Write Good, a linter for English prose. Grammarly and Hemingway Editor can be useful too, though readability algorithms should serve as tools rather than targets. George Orwell’s six rules for language remain a useful checklist: avoid clichés, prefer short words, cut where possible, favor the active voice, avoid jargon, and break any rule rather than write something barbarous.

Documentation Must Demonstrate the Design

Design documentation loses credibility if it looks unpresentable. The material itself should be the first and best application of the system it describes. NASA’s 1976 Graphics Standards Manual by Richard Danne and Bruce Blackburn remains a benchmark — a technical manual that works as a creative object in its own right. If the documentation is well designed, it proves the system’s value. Navigation and searchability matter too, not just for usability but as a demonstration of information architecture done well.

Publishing Creates Accountability

Keeping documentation private forfeits several benefits. Public documentation acts as a proving ground for the system, opens space for knowledge sharing, and signals commitment to the design. The Guardian publishes its Source design system Storybook publicly, with the code on GitHub. Other notable public examples include Google’s Material Design, the GOV.UK Design System, Thumbprint, BBC GEL, Financial Times Origami, Apple’s Human Interface Guidelines, Skyscanner’s Backpack, and the Mailchimp Pattern Library. The Design Systems Gallery is a good place to browse more. Articles and blog posts also count as documentation — the New York Times wrote about how it built a design system for its Cooking app on Android. Publishing, in whatever form, is a statement of intent.

Maintenance Is the Real Work

The common objection is that documentation consumes time that could go into building. It does require effort and vigilance, but the payoff comes in the time saved downstream. Tight integration with the projects it guides is the key lever:

The better integrated the documentation is with the projects it guides, the more maintenance will take care of itself. As components and best practices change, as common issues arise and are ironed out, the system and its documentation can evolve in kind.

Expect the documentation to be incomplete at first. Mistakes and unanticipated situations will surface. Own them, acknowledge blind spots, and give users a way to provide feedback. Like most digital work, design documentation is never really finished.

Documentation That Scales With You

Polished, exhaustive design documentation can feel like a luxury reserved for teams with dedicated design ops budgets. The perceived effort alone often stops projects before they start. Neither assumption holds up under scrutiny.

Documentation in any form pays back the time invested, and the act of writing things down sharpens the decisions themselves. When you commit to a standard — whether it’s a deployment script or a reusable form component — you naturally give it more thought than you would a one-off choice. Adopting a readme-driven mindset for your design assets works the same way: define the intended use, document the rationale, and the artifact improves.

The entry point can be minimal. Pick your core typefaces and color palette, and show them working together on your repository’s wiki. That’s a legitimate start. Documentation grows organically as your project does, and maintaining it becomes part of your workflow rather than a chore you postpone.

Smashing Editorial