Feed a Figma design to an AI agent and the first thing it does is guess. It walks your layers, works out which SWAN component each one might be, and tries to match properties and content — by inference.
Code Connect removes that step. It's an API that maps component properties, composition, and content directly between Figma and code, so the relationship is declared, not guessed.
Why it matters
Fewer tokens — the agent isn't burning context reverse-engineering your layers before it can start.
Faster results — it starts from a known component and its known props, not a plausible guess it has to hedge.
Accurate prototypes — properties, composition, and content all carry across. You get the component you designed with, wired the way the library expects.
How to use
Code Connect is installed on the latest version of the SWAN CEP UI Kit [link]. Components not connected will have a [non-ai] prefix, and will need to be migrated [link].
Less guessing. Faster results. Fewer tokens.