Skip to main content
Question

A way or a plugin to add metadata/properties/attributes to Figma components.


Shayan Paul

I want a way or a plugin to add custom metadata/custom properties/custom attributes to Figma components.

My goal is to design components like Button, ComboBox, Radio Button, Table, TextArea, and TextInput, and attach metadata to each.

I need to fetch this metadata later using Figma’s GET API.

The metadata can be Plain text or JSON as string and can be of any number (10/20/30)

I tried using default component properties capability associating it with bunch of hidden text type, but when I create an instance of the component, the properties associated with hidden text don’t appear in the new instance.

Any suggestions on how to achieve this or a pluging which can be used to achieve it would be very very helpful.

2 replies

Valeri Ivanov

Have you tried using plugins like BulkMeta? The project seems to be stagnated in maintenance mode with the last notable change being in 2023, but it does the job for my component library. 

How useful you may find this depends on what metadata you’re trying to retrieve. I use it to better manage all of the component variants in my component library. To save you from downloading this and running it in your design branches, I’ve provided some sample data of what the output usually looks like:
 

"some-component-name": {
"description": "",
"documentationLinks": [],
"id": "nnnn:nnnnnn"
},
"Property 1=Default": {
"parentName": "some-component-name",
"description": "",
"documentationLinks": [],
"id": "nnnn:nnnnnn"
},



Here’s a link for the plugin in Figma Community:
https://www.figma.com/community/plugin/1217084230796932000/bulkmeta

Hope this helps.


Shayan Paul
  • Author
  • New Member
  • 1 reply
  • June 27, 2025

@Valeri Ivanov 

Thank you for your prompt reply, but I think BulkMeta is not the plugin that can help me in this scenario. 

I want a way to add Meta data while instantiating the component and using it to create a page’s design.

So my idea is I will have a bunch of components like ButtonComboBoxRadio ButtonTableTextArea, and TextInput, and when someone uses those components to create a new design they will have the flexibility to add new metadata to that instance. 

In that way when I’ll try fetching the details via API for that page I'll get these added metadata. The metadata values can not be static and the user should be able to provide the values of those metadata at the time of instantiation of the components. Only the metadata template would be defined at the component level.


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