Screens

Components

Your components drawn with your tokens, checked automatically, so a reviewer can see what a change does before it ships.

In the new layout

In Stoaken’s layout, Components leads with one line about what needs a look (with Show them, which filters the wall) and two or three cards: Checks (how many pass, with a bar of fine, need a look and not checked; open it for what moved with the last release and the ring explained), Looks different (changed in the newest release; when some need a look, the card itself is Show the ones that need a look, which filters the wall) and Figma pairs (when pairs are on: how many have drifted). The header’s working row holds the theme, the Mode switch (or a note when the theme has one mode), Import and Add component, on one line. When components still need their visual checks taken, that is the page’s Up next, with Capture them at its end, in place of the line about what needs a look (one tinted box at a time). The wall takes the width the summary column used to; opening a component works as before.

What needs a decision, families and coverage

When the newest release (in review or live) changed some components’ pictures, or couldn’t take some of their visual checks, the page leads with Needs a decision: one row of those components, under the header, with the full wall below. Each changed one shows its before and after: drag across the picture (or use the arrow keys) to compare. Accept marks it as looked at, for you, in this browser, and takes it out of the row (Show the accepted ones brings them back); it doesn’t approve anything, because a release is approved as a whole, in its review, which the row links to. Open puts the component on the bench with every check. A check that couldn’t be taken says why, with Open to see more.

The wall is grouped by family, the same families the Add component wizard uses (Actions, Forms, Feedback, Content, Navigation), plus Other. A component’s family is read from what it is: the base component it was made from, or words in its name (a Button is an action, a Search field a form); the rest are Other. Families on the left lists them with how many each holds; pick one to jump there. The list stays in view as you scroll.

Each card ends with its coverage, an icon and a few words: whether it was checked in the newest release (and whether its pictures changed or a check failed there), and, when Figma pairs are on, whether it is paired with its Figma twin. An opened component lists the same under Coverage, with See its tokens, which opens Tokenwright on this theme with the component picked, so its chain of tokens is lit and in view. Whether a component is used in your product’s code, and notes on a component, aren’t shown: Stoaken has no data for them yet.

Visual checks start by themselves when a release is proposed (on Stoaken’s servers, right after it is sent). If that run stopped before every check was taken, opening Components takes the missing ones by themselves, once per release in your browser, the same way Capture them would and within your plan’s checks for the month: the line says Taking the missing visual checks. A check that failed is left for you (Capture again), and nothing is taken on a phone. Once they are in, the line says how many components changed, with Show them, which brings you to the row.

The wall

The Components page in the new layout: the theme and Import and Add component at the top, Up next (one component needs a look), cards for Checks, Looks different and Figma pairs, then the wall in families (Actions, Forms…) with the filters and the Families list on the left.
The cards say how the checks stand; the wall is grouped in families, filtered to All. Shown with demo components.

Each card shows the component’s newest picture from a release, in the mode you pick, so the page opens fast. Rest the pointer on a card (or tab to it) and it is drawn live with your tokens, right there over its picture; open it to put it on the bench and run every check. A card that has no picture yet is drawn live, one at a time. Changed since this picture means it would be drawn differently now: its code or settings, a component it uses, or a token it uses (released or not) changed after its picture was taken. Hover it to see it now. While the checks run, a filter such as Needs a look shows only what has been checked so far, and says when some are still being checked (or couldn’t be checked: open one to try again). A card whose check couldn’t draw it says Couldn’t draw this over its picture; open it to see why.

The ring on each card sums up its checks. They run quietly, one component at a time (the bar says Checking 4 of 20), and pause while you look at a card; the results are kept while the tab is open. The filters on the left show the ones that need a look, use tokens the newest release changed, or look different in its screenshots. Beside a card’s name, a swatch icon with a number counts the tokens the newest release changed, and an eye with a number counts its screenshots that look different; point at either to see what it means.

To draw component previews faster, Stoaken keeps the compiled code of components you’ve viewed in this browser (up to about 16 MB, removed after 30 days unused). It is cleared when you sign out, and when someone else signs in on the same browser.

Import a folder of components

The Import button beside Add component opens the import page. Drop your components folder there, or pick the files: Stoaken reads them on your machine and works out what the folder holds, so nothing is uploaded while the plan is made. It finds every component, how they use each other, which values are already on tokens and which are still raw, and shows each one with a receipt and a fidelity (faithful, close or draft). Bringing the plan in needs the Light or Team plan (the 14-day trial includes it); seeing the plan is free on every plan. A single pasted file still goes through Add component; from Figma, the plugin’s Components tab sends a selection straight to this Review (Send components). Icons sent from Figma are listed in the Review’s Icons section, each one new, changed, already in Icons or a name clash, and each clash has its fix right there (update the existing icon, add it under another name, or skip it); they’re stored once in Icons and linked to the components that use them.

In the new layout the page shows its two steps at the top: Bring them in (a drop, or Sent from your code for a push) and Review the plan and import; from the Review, the first step takes you back to drop again. The Review is one screen with one button. The list names every component found, with its level (atom, molecule or organism), its fidelity and its receipts; pick one to see it in full on the right, with the one live preview on the page, drawn with your Brand’s tokens in any mode, what it takes in plain words, and its code behind Code. Anything that can’t be imported yet names its problem and the fix, right there.

Sent from Figma, each component is measured: your browser draws it and compares it, pixel by pixel, with the picture Figma sent of it. How close to Figma shows the two side by side with the score (92% alike), and the label comes from that score: faithful from 90%, close from 70%, otherwise a draft. Where they differ marks the pixels in red. Text edges differ a little between Figma and a browser; a picture fill (shown as a placeholder) lowers the score honestly. A component with no picture (sent from an older plugin, or too big to picture) says so and keeps its reckoned label.

Figma variables and styles are matched to your Brand’s tokens here (their names rarely match exactly: “Border/Default/Default” finds color.border.default). The receipts say how many were found; one your Brand doesn’t have keeps Figma’s value, so the component still looks right, and isn’t bound to anything. Once imported, each matched token is a prop bound to it, counted on the component’s page. What Figma sent (for support) holds what the plugin read, to copy into a message when something came in wrong.

Where the plan needs a person, it asks a plain question with a safe answer already chosen: a component that looks the same as one you have (Keep both, or update yours), a name you already use (rename the import, with the name editable, or update yours), a thin wrapper (keep it as a preset or its own component), and a whole page (Just its parts by default, or import the page too), and a likely twin on the other side (Not yet by default; see Twins below). A checkbox on any row leaves that one out. The button says exactly what it does, Import N components, and the count follows your answers. Pressing it uploads only the files your Brand doesn’t already hold, then writes everything in one step: if anything fails, nothing is half-written, and you can try again from the same place. On the Free plan the button explains Team instead; everything up to it works the same.

When ten or more components arrive at once (a push from the CLI, or a big send from Figma), the Review groups them by how sure Stoaken is: Exact matches (the same as a component you have: a re-send of the same source, or identical structure; accepting updates it), New (nothing like it here), Near matches (like one you have but not the same, or with a question) and Conflicts (a name you already use, or a problem to fix first). Inside each group they are sorted into families (Button/Primary and Button/Ghost are the Button family). A sure group is accepted in one click (Accept the 28 exact matches), or one family at a time (Accept these 5); near matches and conflicts are accepted one by one, their questions on their rows. A line at the top counts what is accepted and what is still to look at, and Undo takes the last accept back. Accepting writes nothing: the one button then imports every accepted component together, and what isn’t accepted stays out of this import (send it again to bring it in later). If an accepted component uses one that isn’t accepted, the Review says which and the button waits. Suggested pairs lists the Figma and code components that look like the same one, each with its score and why (92%: the same name, 3 of 4 props alike); Pair links them once the import is in, and nothing pairs without that click.

Twins: one component in Figma and in code

A component that came from Figma and the same component in your code can be linked as twins. Open either one: Its Figma twin (or Its code twin) in its details says whether it is linked. Not linked yet, the likeliest twin is offered right there with its score and the reasons for it (Button/Primary is one of Button’s variants, 2 of 2 props alike): Link pairs them in one click. Pick another (or Link to its Figma twin when nothing is likely) lists the components on the other side, best match first, by name (Figma’s slash names count: Button/Primary is in the Button family), props, variant options and tokens; pick one. Nothing is ever linked without your click. Linked, it names the twin (click to open it) and Unlink undoes the link. Linking takes Editor or above on the Brand. The import Review asks too: when something you import looks like a component you already have on the other side, it asks Is Figma’s Button the same as code’s Button?, with Not yet chosen; Yes, link them links them once the import is in. A component that came from Penpot can be the design side too, exactly like a Figma one: its details say Its code twin, a code component’s say Its Penpot twin, and the words name Penpot (Code follows Penpot). Bringing Penpot components into Stoaken isn’t available yet, so until a Brand has one, nothing here mentions Penpot.

Linked twins are compared in your browser, from what Stoaken already stores: props and variant names that differ ("Figma calls it variant, code calls it kind"), variant options only one side has, states one side lacks (a hover look in Figma, none in code), and tokens bound differently or a raw value where the twin binds a token ("Background: Figma uses color.brand.primary; code hard-codes #007c2b"). Each difference comes with what to do, and Propose a fix in the next release opens Propose a release with that fix ticked, so the drift is reviewed and approved like a token change. A card whose twin differs wears a Drifted mark beside its name, and the Drifted filter on the left shows just those. The details show a picture of each side in the same tokens and mode, once a release’s visual checks have taken them, and say when the newest release changes a token only one of them uses. In a release’s review, Twins it pushes apart lists the pairs that release changes on one side only. An icon can be linked to the components that use it from the Icons page (Used by); Figma and code twins are listed separately there. In CI, stoaken components push --check --drift fails the build when a linked component drifts (the CLI); the Figma plugin shows In code: and the file on a linked component.

Timeline: what happened to a component

Timeline in a component’s details strings together what Stoaken records about it, newest first: each release that changed a token it uses (each token links to it in Tokens), its visual checks in that release (changed, unchanged, first capture or failed), its twin’s checks and any changed token only the twin uses, where the release went, and each saved change to the component. The version opens that release’s review.

Where it went is what someone recorded: the tools it was rolled out through on the release’s rollout page, and its release paths (landed, waiting, or a problem). When a released version has neither, it says so, with Record where it went. Stoaken doesn’t log each export or API download, so those aren’t shown. It reads the last 30 releases, once per visit, when a Timeline first opens.

From your code: the CLI and CI

Beside the drop zone, From your code sends components straight from your repository with the Stoaken CLI. Stoaken never reads your repository: the CLI works the plan out on your computer (or your CI runner) and sends it. Three steps, each with something to copy:

  1. Make an API key in Settings › Developer access. The CLI asks for it once, or reads it from STOAKEN_TOKEN.
  2. Run the command shown for this Brand in your project: npx stoaken components push with the Brand’s id. It sends only the files your Brand doesn’t hold yet, then prints a review link. Open it and the plan shows in the same Review as a dropped folder, headed Pushed from and the push’s source in plain words (acme-web (from code), or the Figma file); answer any questions there and import. Once imported, Components shows just the ones that came in, with Show all to see the whole wall again. Add --check to see the plan in your terminal without sending anything: that is free on every plan.
  3. For CI, add the key as the repository secret STOAKEN_TOKEN and commit the GitHub Actions workflow shown (copy it from The workflow). It runs a pinned CLI line (stoaken@0.13, the newest 0.12.x), not @latest, so a breaking release never lands unasked. On each push to main it runs the same command with --yes, which imports only the components that need no decision; anything with a question waits for a person in the Review.

Previews carry the libraries people build components with (Temper, 2026-11-21). Always there: React, react-dom, clsx, tailwind-merge and class-variance-authority. Loaded the first time a component needs them (a file of this site your browser keeps; nothing is asked of our servers): Radix (radix-ui and every @radix-ui/react-* package, with @radix-ui/react-icons), Radix Themes, Lucide icons, Motion (framer-motion), React Hook Form with Zod and its resolver, the shadcn/ui companions (sonner, cmdk, vaul, input-otp, embla-carousel, react-resizable-panels, next-themes, tailwind-variants, Floating UI, zustand), react-day-picker with date-fns, TanStack Table (v8) and Query, react-select, Recharts, Headless UI, Base UI, React Aria Components, Ark UI, Material UI with Emotion, styled-components, Chakra UI, Mantine, Ant Design, HeroUI, React Bootstrap, PrimeReact (v10), Fluent UI, Blueprint, MUI Joy, Tremor and React Spring. A library that needs its provider (Chakra, Mantine, Radix Themes, Fluent, PrimeReact, a query client) gets it with its default theme, and one that needs its stylesheet (Mantine, HeroUI, Radix Themes, Bootstrap, PrimeReact, Blueprint) gets it. Tailwind classes are drawn too: your browser builds just the CSS a component’s classes need, with shadcn/ui’s variables filled from the Brand’s tokens in the mode shown (primary, background, text, border, radius and the rest, matched by name, such as color.primary or radius.md; one the Brand has no token for keeps shadcn’s default), and daisyUI’s classes when a component uses them. cn from your project’s lib/utils is rebuilt with clsx and tailwind-merge when you didn’t send the file; @/components/ui/button and other project paths use the Brand’s component of that name; next/link, next/image, next/navigation, next/font, react-router, Remix and i18n hooks have stand-ins. Icon sets too large to carry (Heroicons, Tabler, Phosphor, react-icons, Font Awesome, Iconify, MUI icons) draw each icon as a neutral glyph at its size and colour. A file with no default export (shadcn/ui’s files export named parts) draws its main export, or a small open example of a compound (a Dialog with its trigger and content). Anything else a component imports is a labelled dashed stand-in that still draws what’s inside it; the note under the preview names it, and Tell us about it sends the component, what the preview said and its imports to us as a support request, so we can make it work. components push --check lists each package that’s still a stand-in. A picture the preview can’t load (one served by your app, like /logo.png, or from the internet) shows as a dashed box with a note under the preview saying why. On a saved component, Show a Brand logo here lists the Brand’s uploaded logos right there; pick one and it stands in for that picture in every preview and visual check of the component (kept on the component; Stop showing it removes it). Editors choose; with no logos yet, Upload a logo takes you to Logos and back. A logo over 512 KB is too big to stand in: pick an SVG or a smaller PNG. Components sent before CLI 0.11 keep their old code until you push them again.

Recent pushes lists the Brand’s last five pushes: where each came from, when, and whether it is waiting for review (Review it opens it), imported, or set aside. The list is read once with the page; press Check again after a push to see it arrive. A review link for a push that was already imported, or set aside, says so plainly instead of opening the Review. Sending a plan and importing it need the Light or Team plan (the 14-day trial includes it); the --check run stays free.

The sample’s components, as a guide

The sample Brand holds twenty of the components Stoaken itself is built from. Open any of them to see how it’s set up; each one shows a different part of the job:

  1. Button: every colour, the radius, the padding and the font bound to tokens. Shown on its own it draws both styles, primary and secondary, so every bound token is on screen and the Tokens check can see it.
  2. Status badge and Change counts: each kind gets a pair of tokens, text on its soft background, so they pass contrast in light and dark. Change counts also takes its numbers from whoever uses it.
  3. Lens switch: a state, Table, replays a click so the visual checks photograph it switched, and a click check expects the chosen option to turn the accent colour. The motion tokens sit on its transition.
  4. Release card, Note and Review row: components that use components. Release card and Note use Button; Review row uses Change counts. Change the used one and every component that uses it follows, in review and in each release’s screenshots.
  5. Health ring: colours on an SVG (as stroke styles), with the share of each arc passed in as plain data.
  6. Empty state: tokens from the semantic layer (what a colour is for), not the palette.
  7. Review queue, Activity feed and Toast: a full state and an empty one. Their lists live in the component, so the preview is alive: add items (also from the empty state) or clear them, and states (Empty, Four waiting, Dismissed) let the visual checks photograph each.
  8. Checklist, Vote meter, Release track and Mode toggle: components that change when clicked, each with a state for its changed look. Mode toggle also has a click check (the moon turns the accent colour).
  9. Search field: a focus ring that only shows on focus, with its colour also set as a CSS custom property on the outer element so the token counts as drawn.
  10. Token row, Stat tile and Reviewer stack: Stoaken’s own small pieces, each bound to tokens the same way.

On the bench, a component with states shows a switcher over its preview (First render, then each state), so you can move between empty and full, or any other state, at any time. The checks stay those of the first render.

A component can also have variants: named looks such as Primary, Danger or Compact, each pointing a few of its props at other tokens (and, for things that aren’t tokens, plain values like a label or disabled). The sample Button has five. On the bench they show as a bar under the preview (Base, then each variant); the checks stay the base look’s. On Community, visitors switch between them in the playground.

One rule runs through all of them: draw every token you bind in the first render. A colour that only appears after a click can be set as a CSS custom property on the outer element, so it still counts as used.

Interactive states, tried by hand

Open a component and use Try it by hand in its Details to give it interactive states: what changes on Hover, Press and Focus (keyboard), and under Motion how every change eases. Switch on what changes (background, text or border colour, shadow, lift, scale, animation curve, duration) and pick its token from a searchable list of the tokens that fit; choose whether it applies to the component’s buttons, links, fields or the whole thing.

The preview applies them at once: point at it, hold it down or tab to it to feel them. Save with the component keeps them. They are for people to try; visual checks photograph the component at rest and its named states, never these.

Components that use your components

A component can use another: write import Button from "stoaken:Button" at the top and use <Button> like any element. Stoaken draws it with Button’s own tokens and code, so changing the button changes every card, dialog and form that uses it, on Components, in reviews and in every release’s screenshots. Components affected in a review counts them too.

Your design system, in the code step and on each component’s page, finds raw elements that look like one of your components: the same tokens (the strongest sign), the same element, shared styling, similar words. It says how sure it is and why, and one click rewrites the code to use the component. Handlers and labels are kept; its own styling goes, because the component styles it now. If the component it would use can’t take a label yet, Stoaken upgrades that too and saves both together.

Sample Brands made earlier get Update the sample: it adds the sample components your Brand doesn’t have yet and brings the Button and Release card up to date. Anything you’ve edited is left as it is. The sample’s icons are Phosphor icons (regular weight) from 12 November 2026; a sample made before then switches to them the first time an Editor or above opens its Icons & Logos page (only the icons still exactly as the sample made them; one you redrew stays as it is). They ride the next release; releases already made keep the icons they shipped with. In the new layout the offer is one line (What’s new lists the components); Not now hides it in this browser until the offer changes.

Clicks and states from your code

In the component’s checks step, From your code lists every button, link and input the code has and what each one handles (onClick, onKeyDown). Screenshot it clicked adds the state it leads to, and previews it straight away. Add an onClick in the code and Stoaken picks it up by itself, as a new state.

It works the other way too. Make it clickable writes a toggle into the code for an element that doesn’t react yet (a useState, an onClick and data-state="on" or "off" to style it). Name it gives an element a data-stoaken name, so states keep finding it when the markup moves.

Screenshots show how a component looks; Behaviour checks prove it still works. Each is a sentence with blanks filled from your code and tokens; What are these? explains them in three steps.

Each state reads as steps: Click or Press a key, on an element picked from the code. Pick A CSS selector… for anything else. A step whose element is gone from the code says Not found.

What it’s for

Numbers in a list don’t show what a change looks like. Components does: add a few of your real components (a button, an input, a card), bind their colours, spacing and type to your tokens, and Stoaken draws them with your tokens in every mode.

Each time a release is proposed, Stoaken photographs them with the new values and compares each picture with the last published release, so a reviewer can see exactly what changed before approving. These are the visual checks.

The wall

Every component appears as a tile (its newest picture; live when you rest the pointer on it) with a ring that sums up three checks. Ones that need a look come first. Filter by Needs a look, Tokens changed (a token it’s bound to changed in the newest release; the tile shows how many with Δ), Looks different (its pictures changed) or All fine. An opened component lists which of its tokens the newest release changed, before and after, with a link to Compare.

Tokens
Every prop bound to a token really shows that token’s value when drawn.
Accessibility
An automatic accessibility check of each drawing. Some results need a person to check.
Clicks
Presses and key presses you described behave as described (for example, a switch turns on when clicked).

A component up close

Opened from a release’s review (What it reaches or Components affected), a bar above the bench says which release and where this component sits in its list (2 of 5): step to the previous or next one, or go Back to the review. From a review’s own page, Components opens as its usual page, and the line at the top leads back to the review.

Open a component to put it on the bench: a big live preview on the mode’s own page colour (its picture shows while it draws) (the mode switcher at the top shows each mode’s colour), then its Visual checks, and on the side the verdict: one tile each for Tokens, Accessibility and Clicks, saying Passes, Needs a look, Fails or Not set up, with what went wrong under the one that failed. Then which props are bound to which tokens, and Try other values to see it with different values without saving anything.

The visual checks show the component in every state (its first render, then each state it defines) and every mode, one card each, with what happened: Unchanged, Changed (with how much of it changed), First capture (nothing earlier to compare with yet) or Failed. Each picture sits on the page colour it was really taken on, so a dark mode always looks dark and a light one light, whatever theme you use Stoaken in. The bar above the cards adds them up, and Changed only hides everything that didn’t change.

Click a card to open it: the picture shows at the size the component really draws, on its own page colour, with the viewer sized to it (Enlarge shows it at double size, still sharp). Compare puts this capture and the earlier one on top of each other: drag the handle across (or use the arrow keys). It’s there for changed and unchanged captures; a First capture has nothing earlier to compare with yet, and the next release you propose is compared with it. Side by side puts them next to each other. Before and After show each on its own; Differences shows the changed pixels in red. The strip of small pictures under it, or the arrow keys, step through every capture of the component, and Show live in a mode puts the live preview in that mode.

While a release that changes it is waiting for review, the side panel links straight to that release in the Command Center.

How visual checks are taken

When a release is proposed, Stoaken draws every component in every state and mode your plan covers, with exactly the tokens that release would publish, and photographs each one: cropped to the component, at twice screen resolution, so small components are easy to see and nothing is cut off. Each picture is compared pixel by pixel with the same component, state and mode in the last published release. It takes seconds; the results appear on the page as they land.

A release only pays for what it changes. When nothing a component is drawn with has changed in a mode (its code, the components it uses, its tokens after links, and the page colour), its last picture still stands: the card shows Unchanged with Same as v1.2.0, no new picture is taken, and it doesn’t count toward your allowance. Change one token in dark mode and only the components that use it are photographed again, in dark mode.

Good to know: Pictures taken since late October 2026 are framed this way. They can’t be compared with older ones, so the first release after that shows First capture once; the next one compares as usual.

Adding a component

Foundry on its Tokens step: the five steps down the left (Start done, Tokens current), the step’s heading with its name field and Back and Continue, each prop bound to a token of the Brand, and the live preview beside them.
Foundry, the page where components are made, on its Tokens step. Shown with demo tokens.
  1. Add component (on a computer, or press A) opens Foundry, the page where components are made. Its five steps run down the side (across the top on a narrower window), each with a line on what happens there; the live preview stays beside the work, and Back and Continue are at the top of each step and again at its end. From the Tokens step on, its Name sits under the step’s heading, so you can name it as you go. Edit on a component opens Foundry at its Tokens step, with Save changes at the top of every step, so a quick swap needs no walk through the rest. The step you’re on is in the address: reload the page and you’re back on it (a new component picks its draft back up). Choose how to start: Start from a base (one of the base components, by category, or a blank one) or Bring your own code (a single-file React component). Each base component’s card shows a small sketch of it drawn with your Brand’s own tokens.
  2. Have a picture or a page to match? Match a reference: drop or paste a screenshot, or paste a Storybook or site link, and Stoaken suggests the closest base components from plain clues (the picture’s shape and colours, the link’s words). It’s a guess you confirm: nothing changes until you pick one. The reference then sits beside the live preview on every step. A picture stays in your browser; a link is shown by your browser, never fetched by Stoaken, and a site that refuses to be shown inside another page stays blank, so drop a screenshot of it instead.
  3. Bringing your own code: paste it, or drop its file (Choose a file works too). As you paste, Stoaken shows what it read: the component’s name, its props, and the styles it uses (colours, backgrounds, borders, radius, spacing and type, from style props and from values written in style={{…}}). Class names and CSS files aren’t read for tokens, but the preview draws Tailwind classes. A library’s file with only named exports (shadcn/ui’s button.tsx) is read too. It all happens in your browser; nothing is sent until you save.
  4. Connect each style to a token. The Tokens step lists one row per style with the value found in the code, the closest token of your Brand and how close it is (the same colour, a colour difference as ΔE, or how many pixels off), and for text its contrast on the background beside it. Use takes the suggestion, the picker (search, grouped, with swatches) chooses another, and Not a token keeps the code’s value. Use all suggestions takes every close one at once (a far match is shown but never taken for you). A style not bound yet is marked Not bound. The preview draws each change straight away. forwardRef and memo components work too.
  5. Binding writes the token into your code the way your codebase reads it: a value written in a style becomes a prop whose default is the token’s CSS variable with the old value as its fallback, such as radius = 'var(--radius-md, 8px)'. The file still works on its own, follows your Brand’s CSS export where that is loaded, and Stoaken passes the token’s value in for previews and checks. Props that aren’t styles (text, a choice like variant, on-or-off props like disabled, events like onClick) are named under the rows and keep what the code gives them.
  6. Edit the code with a live preview in any mode. The preview sits on a quiet stage sized to the component, with zoom (Fit, 100%, 200%) and a Light/Dark switch (it shows your Brand’s other mode, or, with none, only darkens the stage). States shows it at rest, on Hover, Focus, Pressed, Disabled and Error where it can take them, in up to three of your modes side by side; a state it can’t take is named with the reason. If it doesn’t compile, the line is marked and a plain hint says what to fix, right under the code (and on the Tokens step, with Edit the code).
  7. The Checks step draws those states for real and checks each one: it rendered, it passed its accessibility scan in that state (contrast included), and it visibly differs from rest. A focus with no visible ring, or a disabled state that looks the same as at rest, is named there. These run while you build it; release screenshots still photograph it at rest and in its named states.
  8. Optionally add Behaviour checks: one sentence each, such as “When someone clicks the Switch, its background should be toggle.on.” Every release, Stoaken does exactly that and fails the check if the result is wrong. Ideas come from what your code already reacts to.
  9. Name it and add it. Foundry takes you back to Components with it open, drawn straight away, and every release from now on captures it.

Good to know: Components run in a sandbox with React only: no other packages, and no network. Keep each one to a single file.

Tip: Leave Foundry part way (Components in the header, or Cancel) and a new component is kept as a draft in this browser (one per Brand, for you only; the foot says Saved as draft). Next time you open Add component it offers Continue your draft with the name and step, or Discard. Adding the component removes the draft. A reference picture isn’t kept in the draft; a reference link is. Changing an existing component keeps no draft: leaving with unsaved changes asks first (Keep changing it or Leave and drop changes).

Tip: On the Free plan, visual checks cover the default mode, with 100 a month. Before a release goes to review (and on Capture again), Stoaken says how many it may use and how many are left; components the release doesn’t change keep their last picture, free. The sample Brand’s checks are free: every mode, not counted. Light checks every mode, with 300 per Editor a month; Team every mode, with 1,000. A check that fails doesn’t count toward the allowance.

When a check couldn’t be taken

Sometimes a capture fails: the component threw an error, ran too long, or something wasn’t set up when the release was proposed. A notice above the components then says how many, with Capture again beside it; Why (in the new layout) or the panel itself (in Classic) names each one, grouped by what went wrong. Click one to open that capture and read why (the card’s Technical details say what the browser reported). Nothing shows when every check has its picture.

Once the cause is fixed, Capture again takes just the failed and missing checks of that release, with the same tokens: a check that already has its picture isn’t taken again. The notice shows the run as it goes (how many are done, and roughly how long is left), each component gets a mark (a clock until its checks are in, then a tick, or a warning if one failed), and the new pictures replace the failed ones everywhere, including the Command Center. If nothing new arrives for a few minutes, it says the run has probably stopped. In the new layout a page’s notices share one line under the header: the one that needs you first, the rest behind more.

Was this page useful?

Looking for the API, CLI or AI agents? They’re in the developer docs.