Understand how nested components help build reusable and consistent dashboard elements in Figma for BI reports.
Nested components in Figma - Dashboard Guide
| Region | Salesperson | Sales Amount | Month |
|---|---|---|---|
| North | Alice | 1000 | Jan |
| South | Bob | 1500 | Jan |
| East | Carol | 1200 | Feb |
| West | Dave | 1300 | Feb |
| North | Alice | 1100 | Mar |
- Base KPI Card (Component): A reusable card showing a KPI title and value. It has two text fields: Title and Value.
- Sales KPI Card (Nested Component): Uses the Base KPI Card and sets the Title to "Total Sales" and Value to the sum of all sales amounts (6100).
- Region KPI Card (Nested Component): Uses the Base KPI Card and sets the Title to "Sales in North Region" and Value to the sum of sales where Region = "North" (2100).
- Dashboard Frame: Contains the two KPI cards side by side, showing how nested components build a consistent layout.
+---------------------------+
| Dashboard Frame |
| +---------------------+ |
| | Sales KPI Card | |
| | Title: Total Sales | |
| | Value: 6100 | |
| +---------------------+ |
| +---------------------+ |
| | Region KPI Card | |
| | Title: Sales in | |
| | North Region | |
| | Value: 2100 | |
| +---------------------+ |
+---------------------------+
When you update the Base KPI Card component (for example, change font or colors), all nested KPI cards update automatically. This keeps the dashboard consistent and saves time.
If you change the sales data, you update the Value text in the nested components to reflect new totals. The nested structure makes it easy to reuse the design while updating data.
Add a new KPI card nested from the Base KPI Card to show "Sales in South Region" with value 1500. Which components update automatically if you change the Base KPI Card style?
Answer: All KPI cards nested from the Base KPI Card, including the new "Sales in South Region" card, update automatically with the style changes.
Practice
Solution
Step 1: Understand component basics
A component is a reusable design element in Figma.Step 2: Define nested component
A nested component is one placed inside another to build complex designs.Final Answer:
A component placed inside another component -> Option BQuick Check:
Nested component = component inside component [OK]
- Confusing nested components with non-editable elements
- Thinking nested means used only once
- Believing nested components are not reusable
Solution
Step 1: Identify how nesting works
Nested components require placing one component inside another's frame or group.Step 2: Check options
Dragging a component inside another component's frame nests it correctly.Final Answer:
Drag one component inside another component frame -> Option AQuick Check:
Drag inside frame = nest component [OK]
- Pasting components outside frames does not nest
- Using text tool does not create nested components
- Creating empty components is unrelated
Solution
Step 1: Understand component instances
Nested components are reusable; updating the master updates all instances.Step 2: Apply update logic
Changing the nested button's style updates all places it is used, including inside main components.Final Answer:
All instances of the nested button update automatically -> Option CQuick Check:
Update nested master = update all instances [OK]
- Thinking only main component updates
- Believing changes affect only one instance
- Assuming no automatic updates happen
Solution
Step 1: Check nesting placement
For a component to be nested, it must be inside the main component's frame or group.Step 2: Identify common mistake
Placing the nested component outside the frame means it won't appear inside the main component.Final Answer:
The nested component was placed outside the main component frame -> Option AQuick Check:
Nested component must be inside frame [OK]
- Assuming locking hides nested components
- Thinking selection affects visibility
- Believing restart is needed for nesting
Solution
Step 1: Understand instance behavior
Editing the master updates all instances, so direct edits affect all dashboards.Step 2: Use detaching to customize locally
Detaching the nested button instance breaks the link, allowing local edits without affecting others.Step 3: Avoid unnecessary replacements
Creating a new component is extra work; detaching is simpler for one-off changes.Final Answer:
Detach the nested button component instance and edit it locally -> Option DQuick Check:
Detach instance = local edit only [OK]
- Editing master affects all instances
- Replacing components wastes time
- Locking does not allow editing
Ready to prove it?
Pass the test and this pattern moves unknown
