Component instances allow you to reuse and customize design elements efficiently while maintaining consistency across your project.
In Motiff, you can create instances from components, override their properties, reset them, detach them, or even swap them with other components.
You can find components in the Assets panel and drag the component to the canvas to create an instance of it.
Tip: Components have two display views: a list view and a grid view. Use the Search feature to search for components in the enabled component library.
Drag the component to the canvas to create an instance of the component.
Tip: You can also use following ways to quickly create instances:
Motiff supports overrides the text, fill, stroke, and effect properties of the instances.
When switching between instances or variants, Motiff attempts to retain your overrides based on these rules:
If you're not satisfied with your edits to an instance, you can reset it to match the main component. You can reset the entire instance or specific properties.
In the design panel's Instance menu, view the properties that have been edited for the current instance. You can reset individual properties or the entire instance.
Tip: If you want to reset all overrides, you can also reset the instance in a few other places.
If you're satisfied with your edits to an instance, you can apply them to the main component. This will update the main component and all its other instances.
If the main component and the instance are in the same file, you can use the Push changes to main component feature. It is not available across files.
Note: You cannot override the main component with edits to nested instances within an instance. You need to make these changes to the main component itself.
Tip: If you are working in a published component library file, you need to publish your changes to allow other instances to receive these updates.
If you need to replace an instance with another component while maintaining its position and overrides, you can swap the instance.
The Instance menu allows you to find and replace components from the current file and any used component libraries. After selecting a component, you can access this menu from the properties panel in the right sidebar.
Select the instance you want to replace, and Motiff will display the component's name in the instance section on the right sidebar.
Click on the component's name to open the Instance menu.
Use the menu to navigate through components:
a. Use to search for components by name.
b. Click to switch between referenced component libraries.
c. Click to go back to the previous directory.
Choose an instance to replace with.
Tip: Motiff categorizes and displays components according to their name, the page they belong to, and the frame they're located in.
Button/Primary button/Click
, Button/Primary button/Hover
, and Button/Primary button/Disabled
as related components because they share the common parent name Button/Primary button
. Learn more about how to name and organize components.
If you need to modify properties locked by the main component or stop receiving updates from it, you can detach the instance.
Select the instance you want to detach and use the shortcut keys to detach the instance:
This website uses cookies to improve your experience and personalize content. Learn more about our Privacy Policy.