PRODUCT ECOSYSTEM · DESIGN SYSTEM

I stopped redrawing the button.

Onefold — One system. Multiple product identities.

Every new product seemed to introduce another version of the same component. Different visual treatments, inconsistent interaction behaviour, and repeated design effort. The problem was not a lack of components. It was the lack of a shared system.

Onefold is that system, and a studio for using it. A shared component foundation, consistent interaction principles, and configurable design foundations support four product identities without rebuilding the interface. The studio is where those decisions can be tried, themed, and handed on.

Onefold hero: One system. Multiple product identities. 126 components, 4 product themes, version 2.0
One interface: the Shop product theme shown in the shared Onefold frame, with Blue app, Shop, Health notes and Editorial theme switches
Blue AppShopHealth NotesEditorial
One shared systemComponents · Foundations · Patterns · Handoff
A shared foundation, expressed through distinct product identities
ROLE
Product Designer & Design System Lead
FOCUS
Multi-product architecture · Design systems
RESPONSIBILITIES
Architecture · Foundations · Components · Behaviour · Theme model · Documentation
COLLABORATION
Developer collaboration · Design-to-code review

02 / THE PROBLEM

The same interface decisions were being made again and again.

Across a multi-product environment, familiar components can slowly become separate implementations. The visible differences are only part of the problem: structure, states and interaction rules can drift too.

01 / REPEATED WORK

Repeated component creation

Teams recreate familiar controls instead of building on a shared foundation.

02 / VISUAL DRIFT

Different visual rules

Colour, radius and typography choices diverge across products, even when the interface serves a similar purpose.

03 / DUPLICATED PATTERNS

Parallel versions of the same UI

Common patterns are copied and adjusted independently rather than composed from reusable parts.

04 / BEHAVIOURAL DRIFT

Different interaction expectations

Focus, disabled, loading and destructive states can behave differently from one component to another.

05 / NO SHARED SOURCE

Unclear ownership of decisions

Without one catalog, a designer, a developer, or an agent has to rediscover the same rules.

The challenge was not to make every product look the same. It was to stop rebuilding the same interface infrastructure, and then to make that infrastructure something you can actually use.

03 / THE DESIGN CHALLENGE

What should stay consistent, what should be configurable, and what should remain unique?

How might we create a shared interface foundation that supports multiple product experiences while preserving their individual identities and consistent interaction behaviour?
SHARED

What should remain consistent?

Component anatomy, interaction behaviour, accessibility expectations and reusable patterns.

CONFIGURABLE

What should adapt?

Product theme values such as primary and accent colours, neutrals, typography and base radius.

PRODUCT-SPECIFIC

What should stay unique?

Specialised experiences and functionality that do not belong in a shared foundation.

OPERABLE

What should you be able to use?

The theme, the component, and the catalog. Switch an identity, edit a real control, share that preview, and read the same list from a script.

04 / MY ROLE AND APPROACH

Product Designer & Design System Lead.

I defined the system specification and the design contract, and I built the studio that runs it. The studio is the place those decisions can be tried. I am not claiming a published package, an automated link to Figma, or a live model.

01 / ARCHITECTURE

System structure

How shared components, foundations, themes, patterns, and the studio relate.

02 / DESIGN SPECIFICATION

Foundations and behaviour

Token roles, anatomy, variants, states, and usage. A control appears in the studio only when the component reads it.

03 / THEME MODEL

Product identity

How a product identity is configured without recreating components. Light and dark are modes of the current theme, not another product.

04 / DESIGN-TO-CODE

Developer collaboration

Shared names, CSS and JSON exports, and one registry.

05 / SYSTEM DOCUMENTATION

Usage and boundaries

Purpose, reuse, and the limits that are still true.

05 / ONEFOLD ARCHITECTURE

A clear separation between shared infrastructure and product expression.

This is a conceptual view. It explains how the decisions connect. It does not claim that each layer is a separate package.

06

Studio and registry

Playground, theme editor, component library, /registry, and the local script. All of them read one catalog.

OPERATE · INSPECT · SHARE
05

Design-to-code handoff

Figma specifications, token naming, and manual CSS / JSON exports.

SPECIFY · EXPORT · HAND OFF
04

Patterns and compositions

Reusable combinations for common product experiences. Four of them open in the playground.

COMPOSE · REUSE
03

Product-specific themes

Primary, accent, neutrals, typography, and radius.

CONFIGURE · EXPRESS
02

Design foundations and tokens

Colour, typography, spacing, radius, focus, semantic status, and the scale the inspector edits.

DEFINE · MAP
01

Shared component foundation

Reusable elements, anatomy, variants, and predictable behaviour. 126 components, one list.

BUILD · BEHAVE
Shared across products

Structure, anatomy, interaction, states, and patterns.

Configured by product

Configured by product: the theme values the studio actually exposes.

06 / DESIGN FOUNDATIONS AND TOKEN ARCHITECTURE

A small set of rules creates a more consistent design language.

The core contract is primary, accent, and radius, with supporting values for type, surface, and status.

COLOUR

Purpose before decoration

Primary is reserved for the primary action. Accent supports focus and emphasis. Success, warning, and destructive keep their meaning when the theme changes. Text on a tinted primary button is held to a 4.5:1 contrast target, so a pale primary gets dark text and a dark primary gets light text. That rule is implemented for those controls. It is not a finished accessibility audit of every screen.

TYPOGRAPHY

Identity with hierarchy

Identity with hierarchy. Outfit, Newsreader, or Montserrat, without losing a usable hierarchy.

SPACING

A repeatable rhythm

4812162432

A repeatable rhythm. The inspector edits it as --space.

RADIUS

One base, related shapes

One base per product. Related sizes are derived from that base. The studio chrome stays at 8px so the tool does not impersonate the product.

ELEVATION

Depth with restraint

Two or three shadow levels distinguish resting cards from raised panels. Shadow softness and depth may vary by product identity; buttons remain flat.

FOCUS

Visible interaction

A visible ring for keyboard use, following the control’s radius.

SEMANTIC STATUS

Meaning stays stable

Success, warning, and destructive do not change meaning with the theme.

CONTRAST TARGET

Readable tinted surfaces

Text on tinted surfaces should meet a 4.5:1 contrast target. This is a design target, not a claim of completed accessibility testing.

FOUNDATIONS / VISUAL BEHAVIOUR

Beyond the basics: defining how interfaces feel

A design system also defines how surfaces behave. Shadow, blur, motion, opacity, hairline, and texture are part of the language. The running studio is more specific about some of these than others.

01 / DEPTH

Shadow

Purpose: Communicate elevation and separate surfaces in a restrained hierarchy.

Shared rule: Use two or three levels, such as a resting card and a raised panel. Buttons stay flat.

Can vary: Shadow softness and depth can respond to product identity.

Where it applies: Resting cards and raised panels.

02 / CONTEXT

Blur

Purpose: Separate an active layer from the content behind it.

Shared rule: A smaller blur supports a menu over a panel; a larger blur supports a dialog over a page.

Can vary: Use is tied to the overlay context, not decoration or a general glass treatment.

Where it applies: Menus over panels; dialogs over pages.

03 / TIMING

Motion

Purpose: Make interaction timing feel coherent across products.

Shared rule: Align opening speed, easing versus snapping, hover duration and panel-transition duration.

Can vary: Product-specific timing should not be invented; shared timing principles remain consistent.

Where it applies: Hover, opening and panel transitions.

04 / STATE

Opacity

Purpose: Express state without creating a new colour for every screen.

Shared rule: Use a short, consistent opacity scale for disabled controls, overlays and pressed states.

Can vary: Application follows the interaction state, rather than a product-specific grey.

Where it applies: Disabled, overlay and pressed states.

05 / SURFACE

Hairline

Purpose: Give surfaces a consistent, quiet edge.

Shared rule: Keep the edge 1px for cards, inputs and glass surfaces.

Can vary: Border colour can follow the product theme; thickness stays shared.

Where it applies: Cards, inputs and glass surfaces.

06 / CHARACTERAa

Texture

Purpose: Add a controlled layer of product-specific character.

Shared rule: Texture is selected at theme level, not added arbitrarily to individual cards.

Can vary: Editorial uses very light grain; Blue App uses no grain.

Where it applies: Product-level visual character.

Onefold visual behaviour controls showing shadow, blur, motion and opacity examples

Shared rules, theme flexibility and component application

PropertyShared system ruleProduct-level flexibilityApplication
ShadowTwo or three elevation levels; buttons stay flat.Shadow softness and depth.Resting cards and raised panels.
BlurContextual separation with distinct menu and dialog use cases.Use within relevant product surfaces and overlays.Menus over panels; dialogs over pages.
MotionShared interaction timing principles.No independent product timing is assumed.Hover, opening and panel transitions.
OpacityShort, consistent opacity scale.Applied according to interaction state.Disabled, overlay and pressed states.
Hairline1px thickness.Border colour.Cards, inputs and glass surfaces.
TextureApplied intentionally at theme level.Presence and treatment; Editorial grain, Blue App none.Product-level visual character.

Levels of the system

01

Primitive

The theme fields: colour, radius, type, spacing, control size, duration.

02

Semantic

Roles the components read: --primary, --accent, --radius, --ring, surfaces, and status.

03

Component

Applied decisions, including a button’s fill and the radius and padding shown for the selected component.

Names in the export: a table mapping Figma token names to CSS variables and their uses, from primary and on-primary to accent-muted

07 / COMPONENT ARCHITECTURE

The value is in the shared rules behind each component.

Components are grouped by purpose. Each one is considered through anatomy, variants, usage, and behaviour, not only its default appearance.

The catalog is one function. The homepage count, the library page, /registry, and the local script all read it. There are 126 components. 113 accept real properties in the playground. Thirteen are specimens, and the inspector says so: Skeleton, Form, Description list, Timeline, Bottom navigation, Nav rail, Activity feed, File list, Stack, Simple grid, Split pane, Image gallery, and Bottom app bar.

The Form template is interactive. The Form component is one of those specimens. The studio labels them differently on purpose.

Selecting a component changes the inspector. Button shows button radius and padding. Dialog shows dialog radius and padding. Field, card, banner, segmented control, menu, and popover follow the same pattern. A row is shown only when that component reads it.

The library page is a browser. Search, the real categories, and a card for every component. Each card is a live preview in the active theme. The card opens the component. Components with props also open in the playground.

A COMPONENT IS MORE THAN ITS SKIN
AnatomyParts and structure
VariantsPurposeful options
UsageWhen and how to use it
BehaviourPredictable interaction
StatesResponse across conditions
Actions and navigation components in the shared library: breadcrumbs, bulk action bar, button, button group, command menu and floating action button
Component anatomy and states showing button kinds, sizes, and default, hover, focus, disabled and loading states

08 / INTERACTION PRINCIPLES AND ACCESSIBILITY

A reusable component needs predictable behaviour in every state.

The expected states are still default, hover, focus, active, disabled, loading, error, and success. Focus stays visible. Disabled and loading stay understandable. Status colour keeps its meaning and is paired with a label. Tinted surfaces aim for readable type.

DefaultResting state
HoverPointer feedback
FocusVisible keyboard focus
ActiveEngaged state
DisabledUnavailable action
LoadingIn-progress feedback
ErrorProblem and recovery
SuccessCompletion feedback

In the studio, the common interactions also run:

  • Chat accepts a line and replies that no model was called.
  • Dialog, drawer, and related surfaces open and close. The dialog traps focus and restores it.
  • Calendar selects a day, changes month, and moves with the keyboard.
  • Kanban moves a card by drag, by menu, or with the arrow keys, and announces the column.
  • Carousel moves previous and next.
  • Tabs, menus, accordion, switch, checkbox, radio, and fields keep the choice.
  • The form template keeps the email error and stays on the page.

Design principles

  1. 01

    Keep focus visible and keyboard interaction in mind.

  2. 02

    Make disabled and loading states understandable.

  3. 03

    Preserve semantic meaning for status colours.

  4. 04

    Pair status colour with text labels or other cues.

  5. 05

    Use contrast targets when applying tinted surfaces.

Validation still required

  1. 01

    Keyboard testing across components.

  2. 02

    Assistive-technology review.

  3. 03

    Contrast verification across all four themes.

  4. 04

    State coverage and regression checks.

  5. 05

    Ongoing accessibility review as components evolve.

09 / FOUR PRODUCT IDENTITIES

The same foundation can speak in four different visual languages.

The same foundation, four visual languages.

The comparison is one task screen. Layout, components, and interaction stay. Colour, type, neutrals, and radius change. On the homepage that switch is the same frame. In the playground it can be pinned, in light or dark, at a desktop or phone width.

IDENTITYPRIMARYRADIUSTYPEWHAT STAYS SHARED
Blue App#1035A314OutfitThe task screen, the anatomy, the behaviour.
Shop#9A34128NewsreaderThe same.
Health Notes#1B433218MontserratThe same.
Editorial#1C19174NewsreaderThe same.
Blue App — same task screen
Blue App — same task screen
Shop — same task screen
Shop — same task screen
Health Notes — same task screen
Health Notes — same task screen
Editorial — same task screen
Editorial — same task screen
A custom theme can be saved in this browser. The four identities stay built in. These are four demonstrations of one system, not four shipped products.

10 / PATTERNS AND COMPOSITIONS

Components become useful when they work together.

Patterns combine shared components into familiar product experiences. These are reusable compositions and visual patterns, not separate applications or claims of fully implemented product functionality.

Four of them open in the playground and follow the active theme. The others remain compositions you can read and reuse. They are not their own templates.

01

Dashboard

Information overview and prioritised content. Opens in the playground: a page header, counts, and a primary action.

02

Enterprise

A working application shell. Opens in the playground: a sidebar, search, and a task list.

03

AI experience

A conversation beside the work. Opens in the playground: a status line and the chat window. A sent message stays in the preview and says no model was called.

04

Form

Structured data capture and validation cues. Opens in the playground: a project form with an email error. Submit stays on the page.

05

List

Scannable collections and repeatable rows.

06

Detail

Focused information and contextual actions.

07

Settings

Preferences and configurable controls.

08

Sign-in

Authentication entry pattern.

09

Registration

Account creation and progressive input.

10

Onboarding

Guided introduction and first-use steps.

11

Empty and error states

Helpful guidance when content is missing or an action fails.

Shop product detail interface showing a linen overshirt, product details, size selection and add-to-bag action

11 / DESIGN-TO-CODE HANDOFF

A shared vocabulary connects design specifications to implementation.

Figma variables and components inform the design contract. The studio writes the matching CSS custom properties and a JSON file for the theme in the editor. The handoff is manual. There is no automated Figma-to-code synchronisation.

Figma token        CSS custom property
primary           → --primary
accent            → --accent
radius            → --radius
focus ring        → --ring
control size      → --control
spacing           → --space
type size         → --type-size
duration          → --duration

Primary, accent, radius, and the focus ring are the original contract. Control size, spacing, type size, and duration are included because the playground inspector edits them and the components read them. The JSON carries the same values, with light and dark beside them.

01Choose a theme.

Blue App, Shop, Health Notes, or Editorial, or a theme configured in the studio.

02Configure tokens.

In Themes, or in the playground inspector: colour, radius, type, spacing, control size, and duration.

03Export CSS and JSON.

From Get started. Copy or download the theme currently in the editor.

04Read the catalog.

The same list is at /registry, and from the studio repo:

npm run onefold -- list
npm run onefold -- tokens grove
npm run onefold -- registry

list prints all 126 components. tokens prints light and dark values for one theme. registry prints the same JSON the studio serves. Each component carries a flag for whether the playground can edit its props.

05Integrate the shared components.

Copy src/design-system and the theme file into the other app. There is no published package, so there is no install step.

06Verify design-to-code consistency.

The names match on purpose. Someone still checks the preview against the export, and carries a change from Figma to the studio, or from the studio to Figma.

The Figma file holds all 126 catalog components. A Light and Dark comparison on that page includes Button, Input, Card, Navbar, Dialog, Chat window, Calendar month, Kanban column, Graph, and Carousel. The other components are in the library. They are not all repeated in that one comparison.

Figma component frames with component notes: profile menu, progress, progress circle, prompt field, prose block and quote
Onefold design-to-code page: Move a theme by hand, with where a developer starts and the core contract

12 / ONEFOLD STUDIO

A place to explore the system, not just read about it.

The Onefold Studio brings the foundations, tokens, components, and patterns into one place. It is also where those decisions can be tried. A theme change reaches the components that read it. A component can be opened, edited, and shared.

01FoundationsThe core rules: colour, type, spacing, radius, focus, and semantic status.
02TokensThe values a theme can change, and the CSS and JSON those values export.
03ComponentsThe library browser. Search, the real categories, and a live preview for all 126 components. A card opens the component. A component with props can also open in the playground.
04PatternsDashboard, Enterprise, AI experience, and Form open in the playground and follow the active theme. The other compositions stay descriptions.
05Theme configurationPrimary, accent, neutrals, radius, font, and a solid or gradient primary button. The preview is a real control. The homepage frame follows the same theme. A named copy can be saved in this browser. The four identities stay built in.
06PlaygroundA place to try a decision before it hardens.
A design system is easy to agree with on a page and hard to trust until you can change it. The playground is that trial. One component, one theme, one question: if the radius changes, or the product changes, does the interface still hold?
07Sample screensThe same task screen across Blue App, Shop, Health Notes, and Editorial. Layout and behaviour stay. The identity changes.
08AccessibilityThe principles, the states, and the testing that is still open. A working preview is not an audit.
09DocumentationUsage, boundaries, and what an agent can read. The registry and the local script use the same catalog. No model is connected.

Playground - The same catalog, now interactive

This is not a second library. It is the same catalog, taken out of the specification and made interactive. Instead of reading what a component is supposed to do, you can see it respond as you change the decisions behind it.

The specification defines what is shared and what can be configured. The playground is where you test whether those decisions hold up.

Onefold Studio playground: the component catalog, a Chat window preview on the dark Blue app theme, and the inspector with density, type, radius, spacing and duration controls

Select a component and experiment with it before anyone has to redraw it. Switch between Blue App, Shop, Health Notes, and Editorial. Change the colour, typography, or radius, and watch the same component update in real time.

When the setup looks right, copy the link. The next person opens that exact configuration, ready to explore or continue from where you left off.

The playground makes theme decisions visible, testable, and easy to share.

13 / GOVERNANCE AND SYSTEM BOUNDARIES

A shared system needs boundaries—and a way to evolve.

A multi-product system is not only a library. It needs clear decisions about contribution, ownership, and change.

Governance to establish

  1. 01

    Component contribution criteria.

  2. 02

    Clear system ownership.

  3. 03

    Versioning and deprecation practices.

  4. 04

    Review and approval expectations.

  5. 05

    Change communication.

  6. 06

    Theme validation across the four identities.

Current boundaries

  1. 01

    No shared versioned package. Another app copies the component folder and the theme file.

  2. 02

    Manual design-to-code handoff. No automated Figma sync. The file and the studio can drift.

  3. 03

    No automated theme regression.

  4. 04

    No hosted agent connection, and no live model. The local script can list the 126 components and show tokens for one theme. That is the whole protocol.

  5. 05

    No chart library, rich-text editor, or virtualised grid. The graph in the playground draws its own axes, legend, tooltip, and table.

  6. 06

    Thirteen components stay specimens: Skeleton, Form, Description list, Timeline, Bottom navigation, Nav rail, Activity feed, File list, Stack, Simple grid, Split pane, Image gallery, and Bottom app bar. Calendar, kanban, and carousel do run in the preview. They are not separate product engines.

  7. 07

    A saved theme lives in this browser. It is not a shared account.

  8. 08

    Keyboard testing, assistive-technology review, and contrast checks across all four themes are still open.

14 / WHAT WORKS TODAY

A practical foundation, with its current limits made visible.

The studio demonstrates a working core.

In place

  1. 01
    One shared component foundation

    126 components, one catalog.

  2. 02
    Four product identities

    Four product identities, available in light and dark.

  3. 03
    Theme configuration

    Theme configuration reaches the components reading those values, including readable type on the primary button.

  4. 04
    Live component library

    A library page of live previews, with search and categories.

  5. 05
    Interactive playground

    113 components accept real props. Chat, dialog, calendar, kanban, carousel, and the form respond in the preview. The canvas stays a fixed size. The link restores the setup.

  6. 06
    Inspector

    An inspector for base, colour, and the selected component’s radius and padding.

  7. 07
    CSS and JSON export

    CSS and JSON export, including control size, spacing, type size, and duration.

  8. 08
    Shared registry

    The same catalog at /registry and in the local script.

  9. 09
    Figma library

    The Figma library, with all 126 catalog components. The Light and Dark comparison includes Button, Input, Card, Navbar, Dialog, Chat window, Calendar month, Kanban column, Graph, and Carousel.

  10. 10
    Experience examples

    Dashboard, Enterprise, AI experience, and Form open in the playground and follow the theme.

Not in place

  1. 01

    A published package.

  2. 02

    Automated Figma synchronisation.

  3. 03

    Automated theme validation.

  4. 04

    A contribution and governance workflow.

  5. 05

    A live model, or a hosted agent connection.

  6. 06

    A chart library, a rich-text editor, or a virtualised grid.

  7. 07

    The thirteen specimens listed in the boundaries.

  8. 08

    A finished accessibility audit across every component and all four themes.

15 / WHAT'S NEXT

Move from a demonstrated system to an operational one.

NEAR-TERM

Strengthen the foundations

  • Extend the Light and Dark comparison beyond the ten components it shows.
  • Do the keyboard, contrast, and assistive-technology checks already named.
  • Keep the studio and the Figma file on the same names when a component changes.
MID-TERM

Make reuse easier to maintain

  • A versioned package, once another app is ready to consume it.
  • Contribution and governance, as a workflow rather than a list.
  • A handoff that does not depend on copying a folder by hand.
LONG-TERM

Support a real multi-product ecosystem

  • More than one real product on this foundation.
  • The four identities adopted by those products, not only demonstrated.
  • A system that can keep changing without each product redrawing the button.

16 / REFLECTION

A design system is defined by the decisions behind its components.

I started with a familiar problem: drawing the same button again for every product. The deeper question was what should be shared, what should flex, and what should stay unique. The number of components is not the point. The point is that those decisions stay stable, and that a team can use them as the products change.

The studio is that test. Change the radius and the button changes. Ask for the catalog and the same list answers. The limits stay visible, so the system does not quietly grow a second, unofficial one.

One foundation. Multiple identities. No reason to redraw the button.