Level 2 · Reusable, systematic design · about 10 minutes · free
Components: design once, use everywhere
A component is a master design. Copies of it, called instances, update when the master changes. That's how a hundred buttons stay identical.
Start the interactive lesson: narrated demo, steps and quiz →
What you’ll learn
- Create a component
- Place and override instances
- Update every copy from the main component
Step by step
- Open Profile card. Select the Profile card auto layout frame.
- Press ⌥⌘K. Its outline turns purple: a main component.
- In the right panel, add a Description: ‘Profile summary for lists and search results.’
- Open Assets on the left rail. Your component is listed.
- Drag it onto the canvas below the original, inside the Profile frame. It's an instance (purple, hollow icon).
- Double-click the instance's name and type Jonah Reyes. The change shows under Overrides.
- Change its subtitle to Guide · Lantern Ridge.
- Select the main component and change its fill to E6F4EE.
- Both cards turn mint, and Jonah keeps his name and subtitle.
- Change the main fill back to FFFFFF. Add a Components page and move the main there (cut and paste). Save.
Tips
- Component the second time, not the first. Build it once as plain layers. When you need it again, make it a component.
- Overrides are content, not style. Change text and images on instances. If you change colours on instances, you need a variant instead.
- Keep mains on their own page. A Components page with every main component makes the library easy to find and hard to break.
Check yourself
You change a button's colour on one instance. Later the main component's colour changes. Does that instance update its colour?
No: overridden properties stay overridden. That's why colour changes belong in variants, not instance overrides.
FigCraft is an open-source project by its own authors. Craftpath is an independent, free learning resource.