Dashboard Mode - Multiple fills on one element
Dashboard Goal
Show how to use multiple fills on one shape in Figma to create a visually rich KPI card for sales performance.
Show how to use multiple fills on one shape in Figma to create a visually rich KPI card for sales performance.
| Month | Sales | Target |
|---|---|---|
| January | 100 | 120 |
| February | 150 | 130 |
| March | 200 | 180 |
| April | 170 | 160 |
| May | 220 | 200 |
+-----------------------------+
| KPI Card |
| +-----------------------+ |
| | Multiple fills shape | |
| | Sales: 220 | |
| | Target: 200 | |
| | Progress bar | |
| +-----------------------+ |
+-----------------------------+
When you change the month selection, the sales and target numbers update. The progress bar width adjusts to the sales/target ratio for the selected month. The multiple fills on the KPI card shape remain the same to keep consistent style.
If you select March, what is the sales number shown? What is the progress bar width percentage?
Answer: Sales number is 200. Target is 180. Progress bar width is 200/180 = 111%, clipped at 100% if implemented.