Same as code — Components in Subframe are the same building blocks your engineers use
Always in sync — When you update a component, all instances update and sync to code
Interactive when needed — Some components like checkboxes and accordions have built-in interaction logic using @subframe/core, our Radix-based headless component library. Learn more about headless components.
Some prebuilt components are based off of Radix primitives. If you want interactive logic like checked state, you must
remix an existing prebuilt component.
Components whose structure relies on tightly coupled primitives — dropdowns, selects, dialogs, drawers, charts,
tables, and calendars — can’t be detached. The Detach component action is hidden for these.
You can delete a component from the Components page or from the … menu in the component editor.When a deleted component is used in other designs, Subframe handles existing instances based on the component type. The delete dialog shows what will happen before you confirm:
Instances will be detached — Custom components and most interactive primitives (buttons, switches, checkboxes, sliders, sidebars, navbars). Each instance becomes an independent copy of the rendered elements.
Instances will be deleted — Components whose structure can’t survive on their own (dropdowns, selects, dialogs, drawers, charts, tables, calendars). Customizations inside each instance are removed with it.
Layout assignments will be cleared — Page layouts. The pages using the layout stay, but lose their layout assignment.
References will be removed — Custom pages referenced from prototype actions or other pages.
Most deletes can’t be undone with Cmd + Z. To recover a deleted component, restore an earlier snapshot from Version history.
We auto-generate component docs with properties and sometimes examples, similar to Storybook. Any updates you make will automatically update the docs. You can directly edit the component from these docs or send them to a developer.To view them, navigate to Components, click on the component.
Copy components and pages from one of your other Subframe projects into the current one. Each selection brings along the dependencies it needs to render — nested components, theme tokens, fonts, custom icons, and image assets.
Navigate to Components in the navbar
Click Import from… (top right) and select Another project
Pick the source project from the dropdown
Browse or search the source project’s components and pages — click any item to preview it on the right
Check the box on each item you want, then click Import
Imported components join your component library. Imported pages land in your project’s first flow.
Components that already exist in the current project don’t appear in the picker.