460 of 500 seats leftBatch 1: 460 of 500 seats leftJoinJoin the waitlist
DOCS

Documentation

Step-by-step guides to install Snapflow and take your screens to code. The API reference and governance recipes are being written.

Installation tutorial

Install Snapflow step by step.

Watch on YouTube

Guides by use case

Pick the one that matches how you work. Each has its steps in order and what you need to follow them.

Design in Figma

You design your screens in Figma with your kit, and your assistant turns them into code.

Code only

No Figma: you ask your assistant for screens or build them in the portal's editor, and they land straight in your app.

Connect your app

Snapflow detects your app's stack and writes down how to fit in: where pages go, how their routes are registered and where their styles load.

Bring your design system

Snapflow puts your design system's values behind its kit, without renaming anything.

Design in Figma

You design your screens in Figma with your kit, and your assistant turns them into code.

You start with the Snapflow kit: your brand's components, colors and text styles, in Figma and in code. It can be a base kit to try things quickly, or one with your brand.

Before you start

Figma desktop, Node 22 or later and an assistant: Claude Code, Cursor, Codex or Antigravity.

Steps

  1. 1

    Install Snapflow with Figma

    Close Figma and run the installer in the folder where you'll use your assistant. To "Do you work with Figma?" answer yes.

    npx @snapflow-labs/onboard --design figma
    Details

    The first time it asks for your license key, your email and your password. The command in Getting started, in the app, already includes your key.

  2. 2

    Type /snapflow-hello in your assistant

    It walks you to your first screen and tells you when something is done in Figma. Pick the quick start for a base kit with a neutral logo, or your own brand to build it with your identity.

    /snapflow-hello
  3. 3

    Create your kit's file

    In a Figma project (not in Drafts), create a new file, open the Snapflow plugin there and pick "Use it as the kit".

    Details

    Building it can take an hour or more. Keep Figma open and in view: if the window goes to the background, Figma slows the work down. From Drafts, Figma won't let you publish the library.

  4. 4

    Publish the library

    When the kit is done, in Figma: Assets panel → book icon → Publish. Until it's published, your screens can't use the kit.

  5. 5

    Set up your screens file

    In the same Figma project, create another file and add the kit's library from the Assets panel. Open the plugin and pick "Design screens".

  6. 6

    Ask for your screen and take it to code

    Tell your assistant which screen you want: it builds it in Figma and, once you approve it, generates its code with your kit's components.

    /snapflow-composition Build a pricing page with three plans

When you're done

Your kit in Figma and in code, and your first screen in both.

Code only

No Figma: you ask your assistant for screens or build them in the portal's editor, and they land straight in your app.

You create your app from scratch and Snapflow delivers its screens with your kit: your brand's components, colors and text styles.

Before you start

Node 22 or later and an assistant: Claude Code, Cursor, Codex or Antigravity.

Every snapflow command answers in JSON, made for your assistant: ask it to run them and explain the result.

Steps

  1. 1

    Create your app

    Use the official generator of the framework your project chose in Snapflow: it's the framework Snapflow generates code in.

    Details

    Want to try first? The installer offers the playground: a sample project to see the screens Snapflow generates.

  2. 2

    Install Snapflow without Figma

    Run the installer in your app's folder. To "Do you work with Figma?" answer no.

    npx @snapflow-labs/onboard --design none
    Details

    The first time it asks for your license key, your email and your password; the command in Getting started, in the app, already includes your key. The skills go to your assistant: if it detects only one, it uses it, and otherwise it asks "Which assistants do you want to use Snapflow in?".

  3. 3

    Type /snapflow-hello in your assistant

    It connects your application, gives it your brand and takes you to your first screen, straight in code. It asks before writing anything in your application. The next steps are the same ones, if you would rather do them yourself.

    /snapflow-hello
  4. 4

    Connect your app

    At the end, the installer detects your app's stack and proposes how to fit in. Review the proposal and confirm it: nothing changes until you do.

    Details

    If you skipped it, ask your assistant: it runs snapflow attach, shows you the proposal and writes it once you approve it.

  5. 5

    Set your brand

    In the portal, open your project and pick Brand: colors, typography, dark mode and logo.

  6. 6

    Bring the kit and your brand into the code

    If the connection proposed installing the kit, run the command it showed. Then snapflow apply-styles writes the theme, the fonts and the logo; run it again whenever your brand changes.

    snapflow apply-styles
  7. 7

    Build your first screen

    Ask your assistant for it: without Figma, it shows you screenshots to approve and writes it into your app. You can also build it in the portal (your project → Pages), publish it and ask your assistant to bring it to code.

    /snapflow-composition Build a sign-in page with email and password

When you're done

Your app with your kit and your brand, and a first screen that arrived as code.

Connect your app

Snapflow detects your app's stack and writes down how to fit in: where pages go, how their routes are registered and where their styles load.

The pages Snapflow generates use only the kit's pieces.

Before you start

Snapflow installed and your assistant open in your app's folder. If the terminal can't find `snapflow`, open a new one.

Every snapflow command answers in JSON, made for your assistant: ask it to run them and explain the result.

Steps

  1. 1

    Detect your stack

    snapflow attach looks at your app and proposes its contract, snapflow.client.json: where pages go, how routes are registered and where styles load. It doesn't run your code or change anything.

    snapflow attach
    Details

    It recognizes the most common stacks: Next.js, Nuxt, Angular, SvelteKit, Astro, Rails, Django, Laravel, ASP.NET and Spring, among others. If it doesn't recognize yours, it proposes what it can read from your files and asks you the rest.

  2. 2

    Answer and confirm

    Review the proposal with your assistant, answer what it couldn't find out and write it with --write. From then on, every new page follows that contract.

    snapflow attach --write
  3. 3

    Bring the kit and your brand into the code

    If the connection proposed installing the kit, run the command it showed. Then snapflow apply-styles writes the theme, the fonts and the logo; run it again whenever your brand changes.

    snapflow apply-styles
  4. 4

    Add your app's rules

    snapflow rules import reads what your app already tells its agents (AGENTS.md, CLAUDE.md, Cursor or Copilot rules) and, with --write, stores it in Snapflow.

    snapflow rules import --write
    Details

    Text never turns into a rule that fails the build on its own. To enforce one, such as forbidding a class, add it with snapflow rules add --kind check.

  5. 5

    Ask for new screens

    Your assistant builds the screen and writes it where it belongs, with your app's formatting, linter and names.

    /snapflow-composition Build an account settings page
  6. 6

    Check your code

    snapflow check finds hand-written colors, arbitrary values and classes your theme doesn't have, including in code Snapflow didn't generate.

    snapflow check
    Details

    Using ESLint or Stylelint? snapflow check --export eslint gives you the equivalent configuration for your linter.

When you're done

Your app connected: every new page lands in its folder, with its route, written the way you'd write it.

Bring your design system

Snapflow puts your design system's values behind its kit, without renaming anything.

Your tokens live in your app or in a package: CSS variables, Sass, Tailwind, JS modules or JSON, Tokens Studio's included.

Before you start

Your app connected to Snapflow. If it isn't yet, start with the guide to connect it.

Every snapflow command answers in JSON, made for your assistant: ask it to run them and explain the result.

Steps

  1. 1

    Read your tokens

    Point --source to the file or folder with your tokens. It reads them by what they contain, without running your code, and proposes a map: which of your tokens goes behind each of the kit's.

    snapflow tokens import --source <path>
    Details

    Don't know where they are? Without --source, the command answers with the files that look like tokens. It reads CSS variables, Sass, @theme and tailwind.config, JS modules and JSON (DTCG, Style Dictionary or Tokens Studio, with its sets and themes), also inside an installed package. The path stays in the map: next time you don't need to repeat it.

  2. 2

    Finish the map

    snapflow.tokens.map.json keeps what it couldn't match on its own. Decide each one; your assistant can suggest them.

  3. 3

    Publish your tokens

    snapflow tokens import --write publishes them. No name changes: the kit points to your tokens.

    snapflow tokens import --write
  4. 4

    Bring the kit and your brand into the code

    If the connection proposed installing the kit, run the command it showed. Then snapflow apply-styles writes the theme, the fonts and the logo; run it again whenever your brand changes.

    snapflow apply-styles
  5. 5

    Dress the screens you already have

    /snapflow-adopt puts your kit on them one by one, with your approval on each and without changing what they do.

    /snapflow-adopt Dress the billing screen
  6. 6

    Keep it up to date

    When your design system changes, snapflow tokens import --check tells you whether what was imported is out of date.

    snapflow tokens import --check
    Details

    To bring the changes in, snapflow import --diff shows what would change in the theme and which pages it touches, and nothing is published until you approve it. To have your CI check it on every change, install the command there from npm (@snapflow-labs/cli-linux-x64) and store SNAPFLOW_EMAIL, SNAPFLOW_PASSWORD and SNAPFLOW_LICENSE_KEY as secrets; /snapflow-adopt adds the step for you.

When you're done

The kit with your tokens behind it, none renamed, and a way to know when they fall out of date.

Usage questions

Quick answers about installing and using Snapflow. Each one comes from the guides above.

Node 22 or later and an assistant: Claude Code, Cursor, Codex or Antigravity. If you will design in Figma, Figma desktop too.

With the installer, in the folder where you'll use your assistant: npx @snapflow-labs/onboard --design figma if you work with Figma, or --design none if you don't. The first time it asks for your license key, your email and your password.

Type /snapflow-hello in your assistant. It walks you to your first screen.

Open a new terminal.

Until the kit's library is published, your screens can't use it. In Figma: Assets panel → book icon → Publish. The kit file also has to be in a project, not in Drafts: from Drafts, Figma won't let you publish the library.

It can take an hour or more. Keep Figma open and in view: if the window goes to the background, Figma slows the work down.

No: building the kit clears the file. Create a new one for the kit; your library doesn't change.

No. Snapflow adapts to how it's written. snapflow attach looks at your app and proposes how to fit in without running your code or changing anything: nothing is written until you confirm.

Next.js, Nuxt, Angular, SvelteKit, Astro, Rails, Django, Laravel, ASP.NET and Spring, among others. If it doesn't recognize yours, it proposes what it can read from your files and asks you the rest.

snapflow check finds hand-written colors, arbitrary values and classes your theme doesn't have, including in code Snapflow didn't generate.

snapflow tokens import --check tells you whether what was imported is out of date. To bring the changes in, snapflow import --diff shows what would change and nothing is published until you approve it.

Being written

They go live with the first invitations.

01

Getting started

Create a project, personalize it with your brand and run your first governed generation.

02

REST reference

Projects, components, tokens, exports and audit. Versioned, with an OpenAPI spec.

03

MCP server

Connect Snapflow to your agent, Claude, Cursor or your own, with your key.

04

CLI

snapflow export and token drift checks on every pull request.

05

Governance rules

Define what your agents enforce: tokens only, accessibility gates, approvals.

06

Figma sync

Variables and components both ways, with drift detection and conflict resolution.

07

Exports per framework

How the components compile to React, Vue 3 and Angular with the same tokens.

08

Webhooks

Release notices, drift alerts and failing governance checks.