Whether the element is visible.
Type(s)
| Type | Example |
|---|
boolean | true |
TokenReference | $token: ...
$type: boolean |
PropBinding | $binding: "#/props/label" |
Conditional | if: { condition: {op: isNotNull, args: [...]}, then: true, else: false } |
Conditional covers the common case of deriving visibility from a nullable prop (e.g. hide when a text or glyph prop is unset). See ADR 018 — Conditional Visible Binding.
Supported on
| Element | Figma Layer(s) |
|---|
container | Component, Frame, Instance, Slot |
text | Text |
glyph | Glyph |
vectors | Rectangle, Vector, Ellipse, Star, Polygon |
line | Line |
Source