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.
| Operand | From |
|---|---|
element.visibleBinding | element bindings, per variant |
element.contentBinding | element bindings, per variant |
booleanProp.default | Figma ComponentPropertyDefinitions |
Derived predicates
| Name | Expression | Source |
|---|---|---|
derived.pairValidates | the visible- and content-bindings = co-occur on one element, consistently across every variant | capture-side cross-variant pair validation |
Cases
Ordered — first match wins.
| # | When | Emits | Why |
|---|---|---|---|
| 1 | derived.pairValidates = true and booleanProp.default = false | the boolean prop, consumedthe 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 |
| 2 | derived.pairValidates = true | the boolean prop, consumedthe 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.