Skip to main content
Question

I'm working on designing a card game with variables attached to a dataset. Can I execute this in Figma?


feezy

I’ve done some searching but can’t find much — not sure if I’m missing something. 


I’m currently building out a card game in Component Studio, a platform that allows you to connect a dataset to a card visualizer/builder that then populates each card. I’m wondering if it’s possible to do something like this in Figma — specifically, connect a dataset that populates text/links components. It’s a bit complex in that there are over 60 unique character cards and each character has a different rule and quality, etc.

 

I’d love to avoid having to do this in InDesign if possible but it seems like it’s beyond the scope of what Figma can do. Maybe it can be pulled off with a combination of plugins? 

Raphael_M
  • Power Member
  • April 16, 2025

Hmmm. It should be possible with Figma variables. But with 60 characters, you’re going to be playing like 60 variables for each of your components (like 60 x n, with n = number of components). I suggest to try doing it first, and let us know if you got stuck on something.


feezy
  • New Member
  • April 16, 2025

@Raphael_M Is there a way to link the variables to a dataset in an external spreadsheet that populates the frames with images (even if the images are maybe already somewhere else in the Figma file)? Or are variables only limited to colors/numbers/text strings/booleans? 


Raphael_M
  • Power Member
  • April 16, 2025

That’s not possible, you can only work with Figma variables on a Figma file. I’ve seen some automation for csv to variables using plugins like this: 

But I haven’t tried them, so I can’t really provide an answer for you regarding that question.

 

And yes variables are limited to the four types, but you can use string for switching so it’s possible to make something like switching on the images by making them a component set and control switching via string/number variables.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings