Skip to content

booleanContentPairing

disposition: bound, direction: figma-to-spec, basis: implementation

A prop rule of the Figma binding. The kinds named below resolve jointly here — which kind a prop even is, or what platform shape it takes, is decided by this rule rather than per kind.

Keys. boolean

Operands

Every fact the rule reads. Nothing outside this set participates.

OperandFrom
element.visibleBindingelement bindings, per variant
element.contentBindingelement bindings, per variant
booleanProp.defaultFigma ComponentPropertyDefinitions

Derived predicates

NameExpressionSource
derived.pairValidatesthe visible- and content-bindings = co-occur on one element, consistently across every variantcapture-side cross-variant pair validation

Cases

Ordered — first match wins.

#WhenEmitsWhy
1derived.pairValidates = true and booleanProp.default = falsethe boolean prop, consumed
the content prop: nullable: true, default: null, and the consumed boolean named in $extensions['com.figma'].visibilityProp
A toggle that defaults off means the content’s resting state is absent — null is the default, not just a possibility
2derived.pairValidates = truethe boolean prop, consumed
the content prop: nullable: true and the consumed boolean named in $extensions['com.figma'].visibilityProp
A BOOLEAN that only ever toggles the element a content prop fills is not a second fact — it is the content prop’s nullability

Otherwise

both props, standing as read — A candidate pair that fails cross-variant validation consolidates nothing

The consolidation rule: two Figma properties become one spec prop. The render direction re-creates the boolean from the nullable content prop’s visible-binding.