Components

Your components, in Stoaken, on every release

Bring them in from code or Figma, and every review shows the button, not just the hex.

How it works

Reviewers see the button, not the hex code

Real screens from Stoaken, shown with demo data.

  1. 01 Collect

    Your real components, drawn with your tokens

    Bring components in from a folder, your code or CI, or a Figma selection. Each one is drawn live with your tokens in every mode, checked on every release, and sorted into families.

    The Components page: the wall of components drawn with the Brand’s tokens, grouped in families, with the families list beside it.
    1. Each component drawn live with your tokens, ready to open.
    2. Families keep a large library easy to walk.
  2. 02 Check

    Look at the change before anyone says yes

    Every release is drawn on your real components twice, before and after, with the proposed tokens. Stoaken counts what looks different, so reviewers spend their attention where it matters. Component code runs in a sealed sandbox on a domain of its own.

    Reviewing v1.3.0: visual checks say 2 of 30 look different, with 28 alike; the approvals timeline; and the Showcase with Before | after, Side by side and Try it.

    Try it: the Button, drawn before and after v1.3.0

    1. 2 of 30 components look different. The other 28 need no second look.
    2. Before and after on the components the proposer picked.
  3. 03 Make

    Make a component from your tokens

    Foundry builds a component in five steps with the live preview beside you. Every prop binds to a token of your Brand, so the component changes when the token does, and its accessibility is checked as you go.

    Foundry on its Tokens step: the steps down the left, each prop bound to a token, and the live preview beside them.
    1. Tokens: each prop bound to a token of the Brand.
The Components page: the wall of components drawn with the Brand’s tokens, grouped in families, with the families list beside it.
Reviewing v1.3.0: visual checks say 2 of 30 look different, with 28 alike; the approvals timeline; and the Showcase with Before | after, Side by side and Try it.

Try it: the Button, drawn before and after v1.3.0

Foundry on its Tokens step: the steps down the left, each prop bound to a token, and the live preview beside them.

In the app

Components

Your real components drawn with your tokens, checked on every release, in families.

The Components page: Up next, cards for Checks (10 of 20 fine), Looks different and Figma pairs, and the wall of components grouped in families.

The real screen, shown with demo data.

In the app

Foundry: where components are made

Foundry, where components are made: five clear steps, your tokens bound in place, the live preview always beside you.

Foundry on its Tokens step: the five steps down the left, each prop bound to a token of the Brand, and the live preview of the button beside them.

The real screen, shown with demo data.

Three ways in

From wherever your components live

All three end in the same Review, and nothing comes in until a person says so.

  1. 01 · In your browser

    Drop a folder

    Drop your components folder in. Nothing leaves your browser until you press Import.

    Importing a folder
  2. 02 · The CLI, or a GitHub Action

    Push from your code

    One command from your machine or CI. Push only: Stoaken never reads your repository.

    Needs the Stoaken CLI 0.7 or later.

    Push components
  3. 03 · The Stoaken plugin

    Send from Figma

    Select what you want and press Send selection. Everything it uses comes along, measured against Figma’s own picture.

    Send components

From your terminal or your pipeline

The CLI sends only what’s new and prints a link to the Review. The GitHub Action does the same on every push to main. The app gives you the exact command for your Brand.

Penpot is on the way. Penpot tokens sync both ways today. Penpot components aren’t available yet.

your project
1# See the plan on your machine. Sends nothing, needs no key.2npx stoaken components push ./src/components --check34# Send it to your Brand's Review.5npx stoaken components push ./src/components --brand BRAND_ID67# In CI: import what needs no decision; the rest waits for a person.8npx stoaken components push ./src/components --yes

The Review

Decide what lands, before it lands

It asks a plain question only where a person should answer one.

01

One screen, one button

Everything found, in plain words, each one drawn live with your tokens. The button says exactly what it will do.

  1. 02

    Same as, or looks like

    A match updates yours. A look-alike stays its own, unless you say otherwise.

  2. 03

    Names that clash

    Renamed sensibly, never Button2. Or update yours instead.

  3. 04

    Pages, or just their parts

    A page brings in its parts. Keep the page too if you like.

  4. 05

    Receipts, not promises

    Faithful, close or draft, with a receipt of what was kept and what’s still raw.

  5. 06

    Atoms to pages, in order

    A card arrives wired to your Button, not a copy of it.

  6. 07

    Problems come with the fix

    Anything that can’t come in says why, and what to do next.

  7. 08

    All of it, or none of it

    Nothing half-written. If something fails, Try again carries on where it stopped.

From Figma

Figma’s look, carried over, then measured

The plugin reads each component property by property, and the Review checks it against Figma’s own picture.

Review · Card · from FigmaReal result
FigmaStoaken
82%Close

Faithful from 90%Close from 70%

Tokens
4 of 4 found in this Brand
Values on tokens
4 of 22
Most of the gap
the photo

Measured by the Review’s own code on the Card in Stoaken’s Figma test file. Figma sent a photo; until one is uploaded Stoaken draws a placeholder, and the score says so.

  1. How close to Figma

    Each component drawn beside Figma’s own picture of it, with a score. Faithful from 90%, close from 70%.

  2. Auto layout, intact

    Direction, gaps, padding, hug, fill and fixed, wrap.

  3. Styles and text

    Fills, gradients, strokes, shadows and blurs. Text with its mixed styles.

  4. Variants as props

    Variant, boolean, text and instance swap, ready to use.

  5. Variables become tokens

    Matched to your Brand’s tokens in the Review.

  6. Where they differ

    The pixels that don’t match, marked in red.

  7. Icons, wherever you keep them

    Components, frames, groups or plain vectors, up to 128 px.

  8. Copy details for support

    If something comes in wrong, send us what the plugin read.

Not carried yet: picture fills (they arrive as placeholders), text styles as typography tokens, and prototype interactions beyond hover and press. Needs the Figma plugin 1.8. Send components from Figma

The wall

Pictures first, live when you look

  • Opens fast. Every card shows its latest picture.
  • Live when you look. Hover or tab to a card and it’s drawn live with your tokens.
  • Honest about age. A card says when its picture is out of date.
  • Checked quietly. Checks run in the background and pause while you look.
  • Pixel-perfect reviews. Each release pictures only what it changes, and shows what moved.
  • Tokens

    Every bound prop really shows its token.

  • Accessibility

    An automatic check, with what to fix and where.

  • Clicks

    Behaviour you describe in a sentence, checked for you.

Text that’s hard to read is flagged on the card, with the nearest colour that passes in every review.

Safe by construction

Every preview runs sealed, on stoakenbox.com

Imported code is somebody else’s code until you’ve looked at it. So it never runs on stoaken.com. It runs on stoakenbox.com, where it can’t reach your account, your data or the network.

Visit stoakenbox.com
  • A site of its own

    stoakenbox.com holds no secrets, and a component that hangs can’t freeze your Stoaken tab.

  • No sign-in, no cookies

    No cookies, accounts or trackers. Your session stays where the component can’t reach it.

  • Sealed frame, no network

    Every fetch, worker and injected script is refused.

  • Nothing remote

    No CDNs, no third-party code. Everything it needs arrives from Stoaken.

  • Locked to Stoaken

    Previews open only inside stoaken.com.

  • Pictures taken the same way

    Visual checks are drawn in the same kind of sealed frame.

Plans

Look for free. Import with Light or Team.

During early access every account has the Team features, importing included. See pricing

Free

  • See the plan for any folder or Figma selection
  • Components you add by hand, drawn with your tokens
  • Visual checks in the default mode, 100 a month

Light and Team

  • Import from a folder, the CLI and CI, and Figma
  • Visual checks in every mode: 300 per editor a month on Light, 1,000 on Team
  • Once billing starts, a 14-day trial with all of it

Questions

Good to know

The full guide is in Help › Components.

What kind of components can it read?
React components in TypeScript or JavaScript (.tsx, .ts, .jsx, .js), with their CSS and Tailwind classes. Props come from your types, and the Review shows which values are already on tokens and which are still raw. From Figma: component sets, variants, components and instances, with icons as SVG.
Does Stoaken read my repository?
No. A dropped folder is analysed in your browser, and the CLI analyses your code on your machine or CI runner and pushes the result. Stoaken never asks for access to a repository.
What about Penpot?
Not yet. Penpot tokens already sync both ways today; bringing Penpot components in is the next part of the importer, and this page will say so when it’s live.
Does anything get decided for me?
No. Every question in the Review has a safe answer chosen, and you can change any of them. In CI, --yes imports only the components that need no decision; the rest wait for a person.
What runs inside a preview?
Your component with React, and any of your Stoaken components it imports by name (import Button from "stoaken:Button"). An import Stoaken can’t draw is named in the Review with what to do about it. Nothing in a preview can reach the network.
Is it as good as the original?
Each component tells you. Faithful means it draws as written; close means something was approximated (say, a motion effect or a picture fill) and the receipt says what; draft means it needs a person’s hand before it’s right. A component sent from Figma is also measured: your browser draws it beside the picture Figma sent and scores how alike they are (faithful from 90%, close from 70%).
Are there limits?
A file in a dropped folder can be up to 256 KB, one push sends a plan of up to 2 MB, and a Figma send reads up to 5,000 layers and 4 MB. API keys share the usual write limit, so a busy CI pipeline may need to push less often.
What about Safari?
Previews are just as sealed there. Safari doesn’t yet give other sites their own process, though, so a component stuck in a heavy loop can slow the tab until it’s stopped.