0
0
Figmabi_tool~10 mins

Breakpoint-based design in Figma - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data shows common screen widths and their corresponding breakpoint categories used in breakpoint-based design.

CellValue
A1Screen Width (px)
B1Breakpoint
A2320
B2Mobile
A3768
B3Tablet
A41024
B4Desktop
A51440
B5Large Desktop
Formula Trace
IF(A2 < 768, "Mobile", IF(A2 < 1024, "Tablet", IF(A2 < 1440, "Desktop", "Large Desktop")))
Step 1: A2 < 768
Step 2: IF(TRUE, "Mobile", ...)
Cell Reference Map
    A       B
1 | Screen Width | Breakpoint
2 |     320     | Mobile  
3 |     768     | Tablet  
4 |    1024     | Desktop 
5 |    1440     | Large Desktop 

Formula references cell A2 for screen width value.
The formula uses the screen width value in cell A2 to determine the breakpoint category.
Result
    A       B
1 | Screen Width | Breakpoint
2 |     320     | Mobile  

The formula result in cell B2 is 'Mobile' because 320px is less than 768px breakpoint.
The breakpoint category 'Mobile' is assigned for screen width 320px based on the formula.
Sheet Trace Quiz - 3 Questions
Test your understanding
What breakpoint is assigned for a screen width of 320px?
AMobile
BTablet
CDesktop
DLarge Desktop
Key Result
Nested IF statements assign breakpoint categories based on screen width ranges.