Handbook
Calque is a deterministic Figma → code engine.
Same node tree, same repository context → byte-identical React, Vue, HTML (and more) every run — ready to git commit.
Convert a Figma URL or node JSON in under a minute.
POST /v1/convert — free, no Calque API key.
Scan a repo; INSTANCE nodes become real imports.
Playbook for coding agents that must not invent layout.
Request shapes, fields, success and error responses.
How Calque differs from AI figma-to-code tools.
Structure mirrors language docs (e.g. TypeScript Handbook): concepts first, then tutorials, then reference tables.
| Section | Purpose |
|---|---|
| Handbook | Mental model: determinism, architecture, projections |
| Get Started | Hands-on paths: API, CLI, Figma plugin |
| Guides | Design-system mapping, agents, loops & layout |
| Reference | Flags, schemas, capability matrix, MCP tools |
| Surface | Where the engine runs | Notes |
|---|---|---|
| Cloud convert | Worker (calque.flowsrun.com) |
Free · no Calque key · engine never shipped to client |
| CLI / MCP | Cloud by default | bun run calque convert · mcp |
| Figma plugin | Local iframe | Production build is minified + obfuscated |
--check / POST /v1/check.New here? Start with Why deterministic or jump straight to Quickstart.