Frontend Development 18 min read

Lossless Design Collaboration Based on C2D2C at NetEase Cloud Music

NetEase Cloud Music’s GMTC talk unveils C2D2C—a lossless design‑development workflow that treats code as a shared language, letting designers export layer data and component metadata via Sketch/Figma plugins, which developers convert back into code, boosting designer efficiency by 25%, developer efficiency by 33%, and overall collaboration by 38% across major product scenarios.

NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Lossless Design Collaboration Based on C2D2C at NetEase Cloud Music

This article is a comprehensive technical sharing from NetEase Cloud Music's presentation at GMTC Conference, introducing their innovative C2D2C (Code to Design, Design to Code) approach for achieving "lossless" design collaboration between designers and developers.

The presentation begins by analyzing the fundamental problems in traditional design collaboration: design assets are manually managed, design specifications are manually synchronized, different design teams have inconsistent standards leading to duplicate construction, and developers face repetitive component development and inefficient collaboration due to communication gaps.

The core issue identified is the lack of a unified collaboration language between design and development tools - designers use design languages while developers use code languages, causing inevitable information loss during intent transfer.

The proposed C2D2C solution uses code and its derivatives as a unified collaboration language. Designers express design intent through C2D, including layer data and component metadata (component names, configuration parameters). Developers then use D2C to convert design language into code by consuming layer and component metadata, achieving theoretically lossless design intent transfer.

The article details the technical implementation including: cross-platform plugin architecture supporting Sketch and Figma; design configuration solution using dynamic forms and metadata binding; C2D technical selection between react-sketchapp and html2sketch approaches; html2figma implementation原理 (converting HTML to Figma Schema through DSL transformation); D2C solution based on metadata for material recognition; and layout optimization algorithms for converting absolute positioning to relative positioning.

The solution has achieved significant results: 25% efficiency improvement for designers, 33% for developers, and 38% overall collaboration efficiency improvement across 4 major scenarios (events, mall, membership, and musicians).

Key technical concepts discussed include Design Token (decoupling component styles from code), virtual components for multi-platform code generation, and the integration with low-code platforms for secondary development.

Frontend Developmentcomponent libraryfigmaD2Clow-code platformC2D2Cdesign collaborationdesign-tokenhtml2figmaSketch
NetEase Cloud Music Tech Team
Written by

NetEase Cloud Music Tech Team

Official account of NetEase Cloud Music Tech Team

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.