Skip to main content
April 6, 2023
Solved

Request: Accessing component variant in `componentProperties`

Hello,

I’m currently writing a web application that traverses over a frame’s nodes and pulls data from them using the files api

Currently, there is no way to see the “variant” type under a component’s componentProperties array. It seems to only show text & boolean properties.

My workaround is to check layers/properties and infer what variant is being used, but I would like to be able to just check componentProperties

This topic has been closed for replies.
James_Yang
James_YangSolution
Figmate
July 28, 2023

Just following up here. We fixed this about a couple months ago.

4 replies

Tekeste
May 11, 2023

I would love to have this as well!

jak_e
Figmate
Figmate
May 12, 2023

We believe this is actually a regression. Looking into fixing this now! thanks for bringing it up!

Tekeste
May 18, 2023

thank you Jake, looking forward to hearing the resolution!

James_Yang
Figmate
James_YangSolution
Figmate
July 28, 2023

Just following up here. We fixed this about a couple months ago.