Bridging Design and Code: The C2D2C Journey to Seamless Front‑End Collaboration
This article presents the three‑part "Design Engineering" series from SEE Conf 2022, detailing how the C2D2C model—Code‑to‑Design, Design‑to‑Code, and Distributed Collaboration—reduces information loss, unifies design and front‑end workflows, and leverages design tokens to create a scalable, low‑friction product‑research ecosystem.
Point | Low‑Loss Collaboration (Phase 1 – C2D2C)
The current design‑frontend workflow suffers from severe information leakage: designers struggle with ambiguous Sketch symbol properties, while developers face mismatched design drafts, leading both sides to create ad‑hoc solutions.
Because design assets (Sketch symbols) and front‑end components (npm packages) live in completely separate environments, the root cause is a lack of shared source.
To address this, the C2D (Code‑to‑Design) concept was introduced. Early attempts such as React Sketchapp (Airbnb) and html‑sketchapp demonstrated that front‑end code can be rendered into Sketch files, but they required designers to write code and produced designs that were hard to consume.
Kitchen’s C2D tool provides a visual panel that maps each front‑end component API (type, danger, etc.) to configurable design properties, enabling designers to generate design assets without writing code.
Phase 1 also introduces D2C (Design‑to‑Code). Instead of merely translating pixel styles, D2C captures the underlying design intent (e.g., button semantics, warning alerts) and generates maintainable front‑end code that reflects that intent.
Line | Breaking Design‑System Islands (Phase 2 – ODS)
In large organizations, dozens of customized design systems emerge, creating a “design‑system Big‑Bang” where each team maintains its own component library, leading to duplicated effort and low ROI.
The solution is a unified Design Token system that makes tokens both machine‑readable and designer‑friendly. Tokens encode colors, spacing, typography, etc., and are applied invisibly during design delivery, ensuring consistent usage across products.
With the token system, designers can customize Ant Design themes via a visual editor, and Kitchen’s C2D pipeline automatically generates both design assets and front‑end code that share the same token package.
Face | Distributed Collaboration Highway (Phase 3 – DCM)
Modern projects involve many roles—product, design, front‑end, back‑end, QA, operations, legal—creating a waterfall of hand‑offs that amplifies coordination cost.
The proposed Distributed Collaboration Model (DCM) treats each role’s tool as a specialized lane on a “research‑development highway.” A product manager defines a table in a documentation platform; the designer syncs it to Kitchen, configures the visual panel, and exports a C2D component; the developer imports the generated front‑end code and connects it to the back‑end API.
This distributed approach keeps learning curves low, allows each discipline to use its optimal tool, and ensures that the source code remains the single source of truth.
Summary
Design engineering thrives on two principles: a shared origin (same‑source) and invisible scaffolding (tokens). By unifying design and code through C2D, D2C, and a robust token system, teams can achieve low‑loss, scalable collaboration across the entire product lifecycle.
Alipay Experience Technology
Exploring ultimate user experience and best engineering practices
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
