Design

We Connected Claude Design to Flutter: How to Build a Code-to-Design Bridge

Read summarized version with
Connecting a Flutter codebase to Claude Design so AI prototypes use real widget names. What worked, what broke, and why it could cut the number of screens a designer delivers by up to 3×.

Before: translation by handAfter: shared component vocabulary
Figma names differ from widget namesDesign system generated from the repo
Prototypes on generic UI kitsPrototypes rebuilt with real widgets
Ever-growing Figma filesPotentially 3× fewer screens

This article describes Olha’s workflow at the time of our interview, and she has since moved on from it. She no longer uses Figma works in GitHub and hands developers code instead of screens. In her words: “It’s faster, more efficient, raises quality and reduces friction between the designer and developers.”

Ask any CTO where design-to-development time goes, and you’ll hear a version of the same answer: translation. A designer draws a “Primary Button / Large / Disabled”. A developer implements AppButton(size: ButtonSize.large, enabled: false). Somebody has to map one to the other, component by component and state by state. When the mapping is wrong, it surfaces in QA as a pixel-diff ticket nobody enjoys.

On a fintech project with a Flutter mobile app, our team tried to remove that translation step from the design-to-code handoff by giving AI prototyping tools and the codebase a shared vocabulary. Figma MCP and coding agents are pushing design-to-code AI towards reusing real project components instead of generating generic markup. The central idea is almost too simple: if the component names in the design tool match the widget names in the code, an AI can do the mapping on its own.

Why AI Prototypes Usually Don’t Help Developers

Most prototypes from AI design-to-code tools look plausible and are useless for implementation. The reason is observable once you know where to look: nearly every LLM builds interfaces on top of shadcn/ui, the popular open-source component kit, and restyles it to resemble whatever you asked for. Olha Sliusar, UI/UX Designer at Kindgeek, described it in our interview like this: “All the LLMs use the shadcn UI kit, the design system. They just customise it to whatever you want.”

That’s fine for exploring an idea. But the result has no relationship to your actual component library. A developer can look at it for inspiration, then has to rebuild every element with real widgets. The prototype saved the designer time and gave the developer none back.

Two Prototypes, Same Brief

Olha ran the same experiment two ways to see the difference in practice:

Claude Code prototypeClaude Design prototype
InputExisting Figma designs, given as visual referencesA design system generated from the Flutter repository
Under the hoodshadcn-based components, restyled to look similarComponents named after the real Flutter widgets
ResultRecognisably “inspired by” the productMuch closer to the product’s actual current state
IterationRe-promptingBuilt-in Tweaks for quick variations
Developer valueVisual reference onlyCan be rebuilt with real widgets via name matching

The Claude Design version, built on the codebase-derived design system, was much closer to the real product. That included a new Edit User Permissions flow that looked like it belonged to the app rather than to a template.

How the Bridge Works: A Claude Design System Generated from Code

Instead of connecting Figma as the design system source, Olha connected the Flutter repository (the place where the widgets actually live) to Claude Design and generated a Claude Design system from code.

Code-to-Design Prototyping Flow

  1. Connect the Flutter repository. Point Claude Design at the repo with the app’s widgets and styles.
  2. Generate the design system from code. Components, styles, and even existing pages are extracted. Component names match the widget names in the codebase.
  3. Prototype and iterate. Build flows in Claude Design on top of that system. Use Tweaks to explore variations quickly.
  4. Export. Either as a standalone HTML prototype for review and testing, or via “Send to Claude Code”, which produces a command to continue in Claude Code.
  5. Rebuild with real widgets. Claude Code reads the shared names and builds the screens from the actual Flutter components.

The component names it generated here match the names of our widgets in the codebase. And when I send it to Claude Code, it builds the screens for me with components from the codebase, because it understands. It doesn’t have a direct bridge, but it sees the name.

Olha Sliusar, UI/UX Designer, Kindgeek

The name is the link between the two tools, so no need for mapping file. When Claude Code sees a component called the same thing as a widget in the repo, it uses the widget. In our tests, the substitutions were correct.

A side effect proved just as useful: the import also pulled existing pages from the code (accounts, activity, counterparties). Olha’s verdict: “It’s not quite right everywhere, but I still have something to start from.” A designer working on a new feature starts from a page that matches what’s really in production instead of from an outdated Figma frame.

Claude Design Limitations in Plain Language

This approach works, but it has edges that any engineering lead should know about before adopting it:

  • Claude Design re-renders the Flutter components in HTML and CSS. They look close but not identical, so expect some manual correction, especially on colour.
  • There are no design tokens. Colours arrive as values with generated names rather than as variables, so you can’t swap one token for another across the prototype.
  • Figma MCP doesn’t work inside Claude Design, so there’s no Figma connection. If you want to reference a Figma frame, you give it a screenshot.
  • Claude Design is still a research preview. The tool is young and changes quickly: good enough to use today, but not stable enough to build a process around blindly.

The Figma gap is the one Olha felt most: “The downside is that we don’t have Figma in Claude Design, and that’s really annoying. Seriously annoying. […] Figma MCP doesn’t work there. You give it links, and it says: give me a picture.” She has since stopped using Figma altogether, so this gap no longer affects her work.

The Second Bridge: Design System Component Mapping from Figma to Flutter

In parallel, the team built a more formal link: a Figma component map that ties Figma component IDs to Flutter widgets, so Figma-to-Flutter code generation uses the right widgets directly. It worked when the team tested it locally.

Then a new version of the underlying library shipped, started flagging duplicate components, and the project stopped running. Fixing it requires a component migration on the Flutter side, and that migration is waiting for developer capacity behind bug fixes and feature work. This is the least glamorous part of the story and the most typical: design-dev bridges are infrastructure, and infrastructure needs maintenance budgets.

Where the 3× Comes From

From what I see in articles, and we haven’t had a chance to check it yet, this cuts the number of screens a designer hands over and builds for developers by about three times.

Olha Sliusar, UI/UX Designer, Kindgeek

To be precise about the claim: the 3× figure comes from published articles by teams using similar approaches. We haven’t measured it on our own project, and Olha’s workflow has since moved past screens altogether: she now hands developers code.

The reasoning is sound, though. Many of the screens a designer hands to developers show states of something already designed: errors, edge cases, screen states and the transitions between them. A prototype built from real widgets carries those states with it. Developers can see them in the prototype instead of in a stack of separate Figma frames.

Fewer frames also solves a problem that rarely makes it into case studies: Figma file bloat. On large projects, design files grow until they take ages to load. Every screen you don’t have to draw is a screen that doesn’t slow everyone down.

Three Results From the Experiment

Only one of these figures is a projection. The other three come straight from the experiment.

  • Up to 3× fewer screens per feature. That’s Olha’s estimate from articles she’s read, and we haven’t measured it. Testing it needs the Figma-to-Flutter bridge, which is still waiting on a component migration.
  • 2 ways to export a prototype: standalone HTML for review and testing, or “Send to Claude Code”, which gives you a command that rebuilds the screens with real widgets.
  • 3 product pages came over from the Flutter repo: accounts, activity and counterparties. They weren’t right everywhere, but they match what’s in production, so a new feature doesn’t start from an old Figma frame.
  • 0 extra tools for name matching. Claude Code links components to widgets by their shared names, and in our tests it picked the right ones.

A Related Pattern: Filling Gaps in the Component Library

Another designer at Kindgeek applied the same principle from the other direction while extending our in-house fintech UI kit. The workflow:

  1. Give Claude a reference Figma screen from a real product flow.
  2. Ask it to identify which components the screen is built from, and which of those don’t exist in the kit yet.
  3. Have it write a specification for each missing component, with references back to the Figma screen.
  4. Pass the specification to Claude Code, which implements the component in the kit.

The point is the same: once design and code share a component vocabulary, AI can work across both sides, from spotting a missing component to specifying and building it, without a human acting as translator at every step.

How to Start an AI Design-to-Code Workflow on Your Project

If you want to try this approach, these are the steps we’d recommend, in order:

  1. Audit naming parity. List your design components and your code widgets side by side. Every mismatch is a translation step someone does by hand today.
  2. Pick one source of truth for names. On our project, that was the code: the design system took its component names from the Flutter widgets.
  3. Generate the design system from code for prototyping, and treat the result as a starting point that needs visual correction.
  4. Budget for the bridge. Component mapping and library migrations are engineering work. Put them in the roadmap, or they’ll stall behind features.
  5. Measure screens delivered per feature before and after, so you can verify the reduction on your own project rather than relying on someone else’s number.

What This Means for Engineering Leaders

The lesson isn’t “use this specific tool.” It’s that in AI design engineering, naming is an interface. Olha’s current workflow takes the same idea one step further: she works in GitHub and hands developers code. When design and code share component names, every AI tool in the chain, from code to design and from design system to code, gets better at moving work between them, including whatever replaces today’s tools next quarter.

For white-label platforms, where the same widgets ship under multiple brands, the payoff compounds: one shared vocabulary serves every brand and cuts translation work on each release. If you’re a CTO planning your next design system iteration, align the names first. The automation follows.

Planning to connect your design system to code?

Tell us about your component library and codebase. Kindgeek’s design and engineering team will scope a shared naming layer so your prototypes build from real widgets.

Talk to our Flutter team →

What is Claude Design?

Read summarized version with

Claude Design is Anthropic’s tool for making designs, interactive prototypes and other visual work by chatting with Claude. It now runs inside Claude as an artifact template, so you can use it in a chat, in Claude Code or from the Artifacts tab, according to Anthropic. The standalone site at claude.ai/design closes on 14 December 2026.

How do you build a Claude Design system from code?

Read summarized version with

Connect the repository where your components live, and Claude Design generates the design system from it. In our test, Olha connected a Flutter repo: the generated components took their names from the Flutter widgets, and the import also pulled three existing product pages. Anthropic also supports importing a design system from a GitHub repo, design files or a local codebase through the /design-sync command in Claude Code.

Can you use Claude Design with a Flutter app?

Read summarized version with

Yes, with one caveat. Claude Design renders Flutter components in HTML and CSS, so prototypes look close to the app but need some manual colour fixes. The payoff comes at handoff: Claude Code matches each component to the Flutter widget with the same name and builds the screens from real widgets.

Does Claude Design work with Figma MCP?

Read summarized version with

When we tested it, Figma MCP didn’t work in Claude Design, so we imported Figma frames as screenshots. Figma also isn’t among the export targets in Anthropic‘s current Claude Design docs. If you need Figma components mapped to code, a Figma component map that ties Figma component IDs to Flutter widgets is the more direct route.

Can Claude Design export to Claude Code?

Read summarized version with

Yes. You can export a standalone HTML prototype for review and testing, or hand the design off to Claude Code to continue from your existing work. In our workflow, that handoff is where name matching pays off, because Claude Code builds the screens from the actual Flutter widgets.

How do you go from Figma to Flutter without mapping components by hand?

Read summarized version with

Our team built a Figma component map that ties Figma component IDs to Flutter widgets, so generated code uses the right widgets directly. It worked in local tests, then stalled when a new library version started flagging duplicate components. Pick one source of truth for component names, and budget for maintaining the bridge.

Does AI prototyping reduce the number of design screens?

Read summarized version with

Olha estimates that prototypes built from real widgets could cut the number of screens a designer hands to developers by about three times, based on articles she has read. We haven’t measured it yet. The reasoning is that many screens show errors, edge cases and state transitions, which such a prototype already covers.

Catherine Shykula

Content Producer at Kindgeek

Recent Posts

Guide to DevSecOps Implementation: Roadmap and 10 Steps to Security

DevSecOps implementation means making security part of how your teams plan, build and release software,…

19 hours ago

Agentic Payments: 8 Steps From Mandate to Secure Settlement

Agentic payments are payments an AI agent starts and completes for a person or a…

4 days ago

AI Competitor Analysis: How to Find the Gaps Your Rivals Miss

AI competitor analysis gave our design team a view of a fintech market built on…

1 week ago

How to Choose a Banking App Development Company: 5 Firms Compared

For a digital-only bank, the app is the bank: Intellias's Swiss client reaches customers only…

2 weeks ago

Adyen split payments: how to avoid mistakes that really cost

Adyen split payments look like a routing problem: some money goes to the seller, some…

2 weeks ago

AI Payment Authorization Optimization: How AI Improves Approval Rates and Reduces False Declines

A one-percentage-point increase in authorization rates can recover $10 million in annual revenue for a…

2 weeks ago