Figma Support Forum

Get VariantProperties for Component

In the Plugin API, you can get the VariantProperties for a given ComponentNode:

variantProperties: {[property: string]: string} | null [readonly]

Variant properties and values for this node. Is null for nodes that are not variants or instances of variants.

Is the same thing available through the REST Api?