0
0
Figmabi_tool~10 mins

Variant properties (boolean, enum) in Figma - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data shows buttons with their variant properties: a boolean property 'Disabled' and an enum property 'Size'.

CellValue
A1Button
B1Variant Property
C1Value
A2Submit
B2Disabled (Boolean)
C2
A3Submit
B3Size (Enum)
C3Medium
A4Cancel
B4Disabled (Boolean)
C4
A5Cancel
B5Size (Enum)
C5Small
Formula Trace
IF(C2 = FALSE, "Enabled", "Disabled")
Step 1: C2 = FALSE
Step 2: IF(TRUE, "Enabled", "Disabled")
Cell Reference Map
   A       B               C
1 Button  Variant Property  Value
2 Submit  Disabled (Bool)   FALSE
3 Submit  Size (Enum)       Medium
4 Cancel  Disabled (Bool)   TRUE
5 Cancel  Size (Enum)       Small

Arrow: C2 -> formula condition
The formula references cell C2 which holds the boolean value for 'Disabled' property of the Submit button.
Result
   A       B               C       D
1 Button  Variant Property  Value   Status
2 Submit  Disabled (Bool)   FALSE   Enabled
3 Submit  Size (Enum)       Medium
4 Cancel  Disabled (Bool)   TRUE
5 Cancel  Size (Enum)       Small
The formula in column D evaluates the 'Disabled' boolean property and shows 'Enabled' or 'Disabled' accordingly.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the formula IF(C2 = FALSE, "Enabled", "Disabled") return when C2 is FALSE?
ADisabled
BFALSE
CEnabled
DTRUE
Key Result
IF(boolean_property = FALSE, "Enabled", "Disabled") evaluates boolean variant properties to user-friendly text.