CoDesignFloDocs How it works Pricing Compare GitHub Sign in

Docs › Getting started

How it works

CoDesignFlo connects two places that never talk to each other directly: the developer's machine and the designer's Figma file. Everything goes through the CoDesignFlo service, so nobody has to be online at the same time.

#1. Code → Figma: Live

  1. The developer (or their coding agent) runs sync in the app's folder.
  2. Sync builds the app's Storybook and opens every story in a headless browser on the developer's machine.
  3. For each story it reads what the browser drew (layout, text, styles, images) and compiles it into Figma layers: components with their variants, and full pages.
  4. That compiled update is uploaded to the CoDesignFlo service. Your source code is never uploaded.
  5. The next time the Figma file is open with the plugin, the plugin applies the update to the Live page. If the file is open right now, sync waits for it and reports how it went.
Why the file must be open
Only a running plugin can change a Figma file (this is how Figma works on every plan). Updates wait safely on the service until someone opens the file with the plugin.

#2. Figma → code: proposals

  1. The designer Claims a component or page in Live. A copy appears on the Proposals page.
  2. They change the copy any way they like, then send it with a note.
  3. CoDesignFlo compares the copy with the version they started from and lists exactly what changed: properties, text, layers, sizes, colours (in the app's tokens).
  4. The developer's coding agent receives those changes as instructions, builds them in the code any way it likes, commits, and syncs.

#3. Closing

Every sync checks each open design against the code: "2 of 3 of the designer's changes in the code", then "looks done". When Live, rebuilt from the code, matches the design, the design closes, its copy moves to the Archive, and the designer is told.

#At a glance

StepWhoWhereWhat happens
SyncDeveloper / agentTheir machineStorybook rendered, Live update uploaded
ApplyPluginFigmaLive page redrawn from the update
Claim & sendDesignerFigmaCopy changed, sent as a proposal
BuildDeveloper / agentTheir codeProposal implemented, committed
CheckSyncTheir machineProgress measured; done designs close