Skip to content
Craft Case study

Dooly design system

Product Language: the design system for Dooly’s sales software, built by the design team

Head of Design, Dooly, on the senior leadership team · Six product designers across three product teams, plus marketing design · Championed the system to the CEO and engineering, and hired its dedicated owner

What changed

One library across core products, R&D and marketing.

Deal Vitals, a health check on each sales deal, shipped on the existing sales-pipeline pattern and status component, with no new building blocks.

Dooly had a product but no design system, so quality depended on individual effort

No tokens, no component library, no documentation site.

TokensnoneComponent librarynoneDocumentationnoneTokensnoneComponent librarynoneDocumentationnone
The vision

Quality and speed should come from the system, not from individual effort.

Product Language: tokens, components and patterns

Tokens combine into components and patterns.

Tokens
Named values for color, type, spacing and motion that every component reuses
Components and patterns
Reusable parts, such as a button, and the arrangements they make, such as a form, drawn from screens already in the product

In Product Language that is three sections: Styling (logos and marks, colors, typography, icons, layout, elevation, meaning shadows), Components and Patterns.

TOKENcolor, type and spacingCOMPONENTa button, built from tokensPATTERNa form, built from componentsColorAaTypeSpacingLabelspacingcolortypeCancelCreateTOKENcolor, type and spacingColorAaTypeSpacingCOMPONENTa button, built from tokensLabelPATTERNa form, built from componentsCancelCreate

Designers build in Figma; Zeroheight holds the rules; engineers build from Storybook

Each part of the system has one home, and they run in order: design, then the rules, then code.

Figma

Where designers define styles and build components, then use them in prototypes and feature designs.

Zeroheight

The source of truth: every component’s behavior and usage rules, so engineers know how to build it. The system’s instruction manual.

Storybook

Engineering-ready building blocks, built from the Zeroheight instructions, that engineers pull from to assemble features.

The case we made for it: prebuilt, tested components would let designers hand mockups to engineering faster, and let engineers build and release stable features more efficiently.

A designer’s new component goes in through a Figma branch, a review and a merge

Any product designer could add to the system through one process, with a review before anything joined it.

Start a Figma fileGo to the library for acomponentDoes itexist?YESGood as is?NOBuild it in their own fileNOBranch the system fileand add a variantAdd it to its page, ona branchDocument it in FigmaSubmit the branch for reviewRevisionsneeded?YESMake revisionsNOMerge the branchDocument it in ZeroheightSwap in the system’s versionUse componentYESA designer’s stepA decisionThe design system teamWhere every path endsStart a Figma fileGo to the library for acomponentDoes itexist?YESGood as is?NOBuild it in theirown fileNOBranch the systemfile and add avariantAdd it to itspage, on a branchDocument it in FigmaSubmit the branch for reviewRevisionsneeded?YESMakerevisionsNOMerge the branchDocument it inZeroheightSwap in thesystem’s versionUse componentYESA designer’s stepA decisionThe design system teamWhere every path ends
  1. 01
    Start in Figma

    A product designer begins a file and goes to the library for a component.

  2. 02
    Check the library

    If the component exists and is good as is, use it. That is the outcome every path aims for.

  3. 03
    Change or add it on a branch

    If it needs a change, branch the design system file and add a variant. If it doesn’t exist, build it in their own Figma file, then add it to its page in the design system file, on a branch.

  4. 04
    Document it, then submit

    Document it thoroughly in Figma and submit the branch for review. Revise until it is approved.

  5. 05
    Merge and document · design system team

    The design system owners merge the branch and document the component in Zeroheight.

  6. 06
    Swap and use

    The designer replaces their own copy with the system’s approved version and uses it.

A green light
Meeting the criteria in the component template, set out in the design system file.
New, or a variant?
A judgment call, made with the system’s owners and sometimes the whole design team, who may find that an existing component already does the job: a checkbox instead of a new toggle, for example.

Each component is defined the same way: purpose, anatomy, content, grid, spec and variants

A template set the bar for a new component, and its Product Language page documents how to use it.

The component template, in Figma
Purpose
What purpose does this component serve? Asked whenever a component is created.
Anatomy
The parts it is made of, sketched as plain placeholder boxes.
Content
What can go inside it, and how that content behaves.
Grid
How it behaves in the grid as the screen narrows, down to mobile.
Spec
Padding, margin and spacing in pixels, for designers and engineers.
Variants
The versions it comes in.
TEMPLATE EXAMPLESAnatomyContentGridSpecPanel Title241620THE BUTTON PAGEVariantsLabelLabelLabelLabelSizesLabelnormalLabelsmallStatesLabelrestLabelhoverLabelpressedLabelfocusLabeldisabledTEMPLATE EXAMPLESAnatomyContentGridSpecPanel Title241620THE BUTTON PAGEVariantsLabelLabelLabelLabelStatesLabelrestLabelhoverLabelpressedLabelfocusLabeldisabled
Each component’s page, in Product Language
Usage
What it is for and what it is not for, with do and don’t rules. On buttons: in most cases, one primary button per page.
Variants, properties, states
Under its Anatomy tab: its versions, its options (size, with an icon, with a menu, without a label) and its states: rest, hover, pressed, focus, disabled.
Behavior, environment, spec
On the larger components, such as modals and panels: how it behaves, where it sits and what triggers it, and its measurements.

Built alongside product work, not ahead of it

A dedicated design-system owner was hired, and the documentation site in Zeroheight started then.

PRODUCT WORKDESIGN SYSTEMOwner hired · documentation site startsPRODUCT WORKDESIGN SYSTEMOwner hired · documentationsite starts
  1. 01
    Map

    We audited the product as it stood and outlined what the system still needed to cover.

  2. 02
    Integrate

    We turned a new brand guide into tokens: color, type, spacing, motion.

  3. 03
    Document

    We documented components and patterns from shipped screens, across three product teams.

The rollout
First

A library of styles and components in Figma, documented in Zeroheight.

Next

Part of the components built in Storybook, and the package imported into the app.

LaterPlanned

Existing UI in the app replaced, one element at a time, with components from the package.

One library across core products, R&D and marketing

It shipped alongside product work, so engineers and designers pulled from the same library.

In code
Packaged and imported into the app, with part of the components built in Storybook
Who
Engineers referred to its components by name in code review
What shipped on it
Deal Vitals, a health check on each sales deal, shipped on the existing sales-pipeline pattern and status component, with no new building blocks
DOOLY · THE PIPELINE, WITH DEAL VITALSNameAccountAmountStageClose dateNameDescriptionAccount name$25,000ProspectingNameDescriptionAccount name$12,000ProspectingNameDescriptionAccount name$25,000ProspectingNameDescriptionAccount name$8,500ProspectingDeal Vitals at a glanceFocus on the items below to improve deal healthAmount is blankClose date is blankNext step is blankNumber of key contacts is zeroPipeline pattern, already in the systemStatus component, already in the systemNew building blocks: noneDOOLY · THE PIPELINE, WITH DEAL VITALSNameStageNameDescriptionProspectingNameDescriptionProspectingNameDescriptionProspectingNameDescriptionProspectingDeal Vitals at a glanceFocus on the items below to improve deal healthAmount is blankClose date is blankNext step is blankNumber of key contacts is zeroPipeline pattern, already in the systemStatus component, already in the systemNew building blocks: none

What I’d do differently

Start the design system at step one.

Dooly had a product before it had a system. Now I start the design system when the product starts.

Hire the design-system owner first.

I hired for the product teams first and the design-system owner later. Next time, the other way round, and work them in more closely with engineering and the other teams.

Full version available on request.

Next case · Craft Canary Topic Card →

Get in Touch

I'm always open to conversations about design, product, and leadership.