Design to Code Using a Custom Design System with AI

Bookmark
Rate this content

This talk explores how we built an AI-powered system that transforms Figma designs into production-ready React code using Razorpay’s custom Design System. Learn how we solved the problem of brand inconsistency in generic AI tools and created a solution that understands our unique design language, enabling faster development without compromising on quality.

This talk has been presented at React Summit US 2025, check out the latest edition of this React Conference.

FAQ

A design system is a collection of reusable components, patterns, and guidelines that help teams build consistent, high-quality UI efficiently.

While AI can rapidly generate UI code, it cannot replace the consistency, reusability, and accessibility provided by a design system like Blade.

Blade's MCP (Model Context Protocol) server connects AI models to different data sources and tools, facilitating tasks like converting Figma designs to code.

Blade uses its AI server to interact with Figma and OpenAI, gathering design context and generating UI code based on Figma designs.

Blade provides various tools such as get-blade-component-docs for documentation and get-figma-to-code for converting Figma designs to code.

High-quality documentation is crucial as it helps AI understand how to effectively utilize design system components, improving the accuracy of generated code.

Challenges included transitioning from a Figma plugin to an MCP, measuring generation accuracy, and integrating with other coding tools.

The key takeaway is to maintain concise, accurate documentation, embrace learning, automate mundane tasks, and collaborate with smart, passionate individuals.

Blade is a design system developed at Razorpay to ensure a consistent look and feel across all products, featuring over 65 reusable components and patterns.

AI can work with design systems like Blade to quickly generate UI code, enhancing productivity by combining the strengths of both AI and design systems.

Chaitanya Deorukhkar
Chaitanya Deorukhkar
19 min
21 Nov, 2025

Comments

Sign in or register to post your comment.
  • Seungho Park
    Seungho Park
    LG Electronics
    Amazing talk! I am going to try right now.
Video Summary and Transcription
Chaitanya, Principal Engineer at Atlassian, discusses the design system at Razorpay, the impact of AI on UI development, and the integration of AI with design systems for enhanced productivity. Detailed prompts for AI to build UI components can be cumbersome. Imagine a seamless process where AI interprets Figma designs to create UI. Leveraging design expertise and focusing on business logic, not writing detailed AI prompts. Blade's MCP server facilitates the magic of transforming Figma designs into UI code by collaborating with Figma and OpenAI.
Video transcription and chapters available for users with access.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Powering Cody Coding Assistant Using LLMs
C3 Dev Festival 2024C3 Dev Festival 2024
29 min
Powering Cody Coding Assistant Using LLMs
This Talk explores the world of coding assistants powered by language models (LLMs) and their use cases in software development. It delves into challenges such as understanding big code and developing models for context in LLMs. The importance of ranking and code context is discussed, along with the use of weak supervision signals and fine-tuning models for code completion. The Talk also touches on the evaluation of models and the future trends in code AI, including automation and the role of tasks, programming languages, and code context.