Ship to Figma sets up the companion plugin. In a Figma file it creates your tokens as variables in light and dark, draws your icon set, draws the component kit as component sets bound to them, and every block at three widths.
How to use it
The dialog's steps:
- Install the plugin from Figma Community.
- Copy your project token, shown read-only in the dialog.
- Run the plugin in a Figma file: paste the token in
Project tokenand pressSync & build. It reports✓ Synced — N created · N updated · N components (N built · N updated).Build blocksthen draws the blocks, once the kit is built.
After saving token edits in the workbench (the dialog notes unsaved changes, with Save), run Sync & build again: variables update in place, component sets refresh. Forget token clears the saved token; App URL under Advanced points the plugin at another server.
How it works
Variables. Every token becomes a variable in a Design System collection, named by its path (design/color/brand/600, semantic/primary), with a Light mode and, where the file's plan allows a second mode, a Dark mode. Semantic and component variables alias what they reference, as the tokens do. A half-step shade's dot becomes an underscore (Figma refuses dots between digits).
The icon set goes on an Icons page, drawn before the kit: every icon of the project's icon set in its chosen style and weight as a component, grouped by category and bound to the foreground variable, with a dark copy when the collection has a Dark mode. With Filled when selected on, each icon's filled twin sits next to it. A rerun with the same set and style only rebinds its colours.
The kit goes on a Design System page: one component set per kit component with its variants, every paint bound to a variable, each shadow token an effect style, focus rings a bound outside stroke. Every icon in it is an instance of its Icons page component, swappable within the set. Labelled fields are a Field component whose label, action, description and control are component properties. Each gradient syncs as a paint style (semantic/accent-gradient), and the kit's Button, Badge and Card wear theirs.
Blocks go on a Blocks page: all 34 blocks at desktop, tablet and phone widths, built from a snapshot of the blocks as rendered, so each frame is real structure (auto layout, kit instances, bound paints), not a picture. Each icon in a block is an instance of its Icons page component, sized as the block draws it and painted in the variable the block paints it in, so it follows the icon set and is swappable; an active sidebar item shows the filled twin when Filled when selected is on. Charts and the sign-in logos stay vectors. Page blocks are cut at two screens of height; chart groups keep theirs. A rebuild deletes exactly the frames it drew before, wherever moved, and leaves copies alone.
Dark copies. With a Dark mode in the collection, every component set gets a · Dark panel and every block a dark frame beside its light one. Without one the plugin warns once: Dark copies skipped — the Design System collection has no Dark mode (a paid Figma plan is required for a second mode).
The font. Blocks are drawn in the font Figma draws, Inter for the system stack; widths match Figma, not the browser.
Import from this file. Bring changes into “<project>” reads edits back. Make a new design system and Update a design system read its colours, fonts, corners. Make screens from selected frames sends up to 10 frames to the design system picked there: each picture, and its layers' text, names, positions and sizes, no colours or fonts.
The plugin reads the project through its token; a 401 clears the token, a 402 keeps it and says Exports need Pro.
What can go wrong
Token invalid — regenerate it in the app and reconnect.: the token was regenerated.Build blocksis disabled: runSync & buildin this file first.The project's icons changed since the last Sync & build. Run Sync & build to update the Icons page, then Build blocks again.: the icon set, style or Filled when selected changed after this file'sIconspage was drawn; the blocks use the icons the page holds.- A warning says block icons were drawn from the capture as plain vectors: the file has no
Iconspage, or its lastSync & builddid not finish. RunSync & build, thenBuild blocksagain. - A warning names shadows drawn as literal effects: no shadow token matched; run
Sync & buildagain. - The plugin says to update: the app's snapshot is newer than the plugin.
This file was synced from “<project>”…: the token is another project's:Sync anywayorCancel.- Variables or styles reported frozen: their token was renamed or deleted; delete them once unused.
- Blocks measured in another font: some labels grow to fit.
- No accent gradient or page wash in the file: the plugin is older than gradient roles; update it.
Related
- From a Figma file: bringing edits, a new design system or an update back from Figma.
- Project settings: the token.
- Blocks.
- Figma frames into screens.