Components
This page shows you how to make a component, find it and place it.
Example: you make one "Button" component. You use it ten times. You change the main button once. All ten buttons change.
How to make a component
- Select the layer or frame you want to reuse.
- Open the layer's menu (the three dots at the top of the right panel).
- Click Create component.
The layer is now the main component. The right panel marks it as a component. To undo this, open the same menu and click Detach component.
You can also open the Components panel and click Create component there.
How to use a component
- Open the Components panel on the left.
- Find the component. Each tile shows how often it is used.
- Click Place on the tile.
Where it lands:
- If a screen is selected, the component goes in the middle of that screen.
- If no screen is selected, it lands in view, away from the screens.
- It never lands inside a main component.
If the new layer is off screen, the view moves to it.
How to find where a component is used
- Open the Components panel.
- Click a component tile.
Brsh selects every instance and fits the view to them. Each selected layer gets an outline and a number.
How to change one instance
- Select the instance.
- Change its text, colours or other values in the right panel.
Each change is an override. It changes only that instance. The panel tells you when a value is an override.
How to turn many copies into one component
Agents can find frames that look the same. They differ only in text, image or colour.
- Open Agents (the AI tab, then Agents, or ⌘L).
- Find the suggestion that names the repeated group. It tells you how many copies there are.
- Click Make component.
The first copy becomes the component. Every other copy becomes an instance. Text, colours and names that differed become overrides. The design looks the same. It is one undo step.
Notes:
- Agents suggest this for 3 or more copies, or 2 copies on different screens.
- A copy that a prototype link points to stays as it is. This keeps the link working.
- A hug-size copy and a fixed-size copy are not grouped.