When building interfaces, it is often necessary to use components such as icons, buttons, and cards in different scenarios. The Instance menu allows you to quickly search, preview, and swap one component for another. Below are two methods for replacing instances in Motiff.
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 Design panel in the right sidebar.
Motiff categorizes and displays components according to their name, the page they belong to, and the frame they are located in.
Button/Primary button/Click
, Button/Primary button/Hover
, and Button/Primary button/Disabled
as related components because they share the same parent name Button/Primary button
.
Use the Instance menu to swap an instance:
Use the menu to navigate through components:
a. Use field to search for components by name.
b. Click to switch between enabled libraries.
c. Click to go back to the previous group.
Choose an instance to replace with.
In the Assets panel on the left sidebar, you can search for the components you need.
Drag a component onto the canvas to create an instance. If you use a modifier key while dragging the component, you can replace an existing instance.