Skip to content

Components

A component is a part you build once and reuse. Edit the master and every instance updates, except what you overrode on that instance.

What are masters and instances?

A master is the source of truth, a normal frame on a canvas. An instance is a linked copy that inherits everything until you change it. The right panel calls a master the main component.

A main component labelled Button and an instance labelled Card, both with component-purple labels
A master and an instance on the canvas, each with its own label.

In the Layers list, a filled diamond marks a master and an outlined diamond an instance. Every component in the project and its libraries is on the Assets tab of the rail, ⌘⇧A with the chat closed.

How do I make a component?

Select elements and press ⌘⌥K, or right-click and choose Component, then Create Component.

If you selectYou get
One plain frameThat frame becomes the master, in place.
One other element, or severalA new frame around them becomes the master.
Elements in several parentsOne component per parent.

How do I make an instance?

Select a master and run Create Instance from the palette or the right-click menu. Duplicating with ⌘D or pasting a master also makes an instance, not a second master.

What happens when I override something?

Your change sticks. Change any property on an instance, such as its text, a fill or its size, and master edits stop touching that one property on that one instance. Everything else keeps following the master.

  • Children you add to or remove from the master appear in or leave every instance. Reordering carries over too.

  • Blend mode and the instance’s own name stay per instance.

  • You cannot drag elements into or out of an instance, except inside a slot, a child each instance owns outright.

A still of the live example. Open this page on a desktop browser with WebGPU to try it.
One master edit, every instance follows (per-instance overrides live in the editor), in its opening state
Accent
Corners
Button
One master edit, every instance follows (per-instance overrides live in the editor). Live on a desktop browser with WebGPU. Flip a control and the canvas recompiles in place.

Try it: edit the master's accent, radius or label and watch all three cards follow.

What is a component set?

A set groups variants of one component along named properties, such as Size and State. An instance of a set picks one value per property and shows the matching variant.

To make one, select two or more elements, right-click and choose Component, then Create Component Set. Grow a single component into a set later with Add Variant.

The Component section with property dropdowns
The Component section in the right panel.
With this selectedThe Component section offers
A setAdd Property, with Size, State, Type and Variant suggested, and Add Variant.
A variantOne dropdown per property, setting its coordinate. It warns when two variants share one.
An instanceOne dropdown per property, switching the variant. Nested instances show their own, indented.

How do I switch an instance to another master?

Inside a set, flip the property dropdowns. For a different master, detach the instance and make a new one from that master.

How do I detach, reset or push?

Run these from the palette or the right-click menu.

ActionWhat it doesKeys
Detach InstanceBreaks the link. The content stays as a plain frame.⌘⌥B
Reset OverridesClears every override and re-syncs from the master.Palette or menu
Push Overrides to MasterMakes this instance’s overrides the new default for all. The master must be on this canvas.Palette or menu
Go to MasterSelects the master, switching canvas if needed. Go to main component in the Component section does the same.Palette or menu

Ungrouping a master detaches its instances first, and ungrouping an instance detaches it.

Can a master live on another canvas?

Yes. Keep your masters on one canvas and use instances everywhere else. Pasting a master onto another canvas makes an instance that points back to it.

  • Editing a master updates instances on every canvas you have open. The others catch up when you open them.

  • If a canvas full of cross-canvas instances is the first you open in a session, open the master’s canvas first.

  • To share across projects, publish the project as a library and depend on it from the other one.

Where next?