Any instance you create is linked to the main component. When you modify the main component, Motiff will sync the changes to all linked instances.
To ensure Motiff sync the changes to all instances, you can only edit the main component in the file where it is located.
Tip: To change the location of a component, you can move published components between files and the component library.
In the file with an instance of the component, if you want to edit the main component, use the Go to main component feature to open the component library file. There you can edit the main component.
Tip: If you accessed the main component from another file, you can return to the instance file after making the changes.
In some cases, you may want to apply the modifications of an instance to the main component.
You can use the Push changes to main component feature to apply the instance changes to the main component. As the main component updates, other instances will be updated synchronously.
The Push changes to main component feature can only be used in the case when the main component and instance are in the same file. This feature cannot be used when the component and instance are across different files.
Note: When an instance is nested within another instance, changes to the inner instance cannot be directly applied to its main component.
Changes you make to published components or styles will only synchronize to instances in the current file. If you want these changes to be synchronized to instances in other files, you need to publish the updates to the component library.
When a blue dot appears on the top of on the Assets panel in the left sidebar, it indicates that you have updates to publish:
Click at the top of the left sidebar to open the Component modal.
Select the Local library, click Publish.
Review the list of changes in the component library. This provides details about any added, changed, or deleted components and styles.
Select the changes you want to publish:
Add a description of the updates (optional), which will be displayed in the component library update list.
Once you have made your selection, click Publish. You will see a prompt on a popup confirming that you have successfully published library updates.