Features/Components

Component instances

Place a component as an instance; each instance follows the definition and can override its own text and attributes.

An instance is an element on a page (or inside another component) that renders a component. It keeps the link to the definition, so design changes made to the component appear in every instance. In the editor you copy a component with Get component and then use Set on any element to turn it into an instance; Unset removes the link. The Content panel shows an Instance Yes/No switch for instances of components without variables. Instances let one design live in many places while each place keeps its own words or links.

How it works

  • On the canvas it carries the attribute component=<id>.
  • Get component (component context menu) stores the component in a temporary slot ('Copied.'); the tag context menu then shows Set <component name> and, for an existing instance, Unset.
  • Instance switch (Content panel > Component): Yes (default) means content edited inside this placement is stored for this instance; No means the placement shows the definition. Stored in tag properties.instance (put/tags/properties/instance).
  • Overrides: text and attributes of inner nodes are stored per instance under a key '<instance id>-<loop>' on the inner node of the definition. Overrides are copied when an instance is cloned.
  • Swap: the component an instance renders can be changed; old overrides stay stored and come back if the instance is switched back.
  • Layers panel shows the instance's inner tree unless the instance is locked, has variables, or Instance is off; a Toggle symbols button collapses or restores them.

When to use it

  • The same button component with a different label on each page
  • A testimonial card placed three times with different quotes

Limitations

  • Overrides cover text and attributes (per the MCP docs); styling changes go to the definition and apply to every instance.
  • Components with variables (widgets) are edited through their content form, not by clicking inner elements.

Availability

  • Works in Designer and MCP.
  • Included in every plan.

How to use it.

  1. Right click a component in the Components tab and choose Get component.
  2. Right click the target element on the canvas and choose Set <component>.
  3. Edit the instance's text directly on the canvas.

Questions.

How do I detach an instance?

Can an instance have its own text?

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.