Skip to main content
Solved

Request: Accessing component variant in `componentProperties`

  • April 6, 2023
  • 4 replies
  • 515 views

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

Best answer by James_Yang

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

This topic has been closed for replies.

4 replies

Tekeste
  • 2 replies
  • May 11, 2023

I would love to have this as well!


jak_e
Figmate
  • Figmate
  • 28 replies
  • May 12, 2023

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


Tekeste
  • 2 replies
  • May 18, 2023

thank you Jake, looking forward to hearing the resolution!


James_Yang
Figmate
  • Figmate
  • 82 replies
  • Answer
  • July 28, 2023

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