Skip to main content
Question

API Support for Component-Level Properties (Corner Radius, Padding, etc.)


Hi everyone!

I’m currently building a design system for my company we have already a Figma Enterprise license, and we’re leveraging the API to sync design tokens with dev team. So far, things have worked well when it comes to color variations at the component level — we’re able to extract and sync those successfully.

 

However, we’ve hit a bit of a roadblock: The Figma API doesn’t seem to expose component-level values for corner radius, padding, or spacing — at least not in a way we can reliably use for token sync.While color tokens are accessible, properties like padding or radius that vary across component variants (e.g. input/small vs input/large) aren’t available through the API in the same way.

 

I’m wondering:

  • Is there a workaround or best practice for syncing these kinds of values via the API?

Any help, insights, or suggestions would be hugely appreciated!

0 replies

Be the first to reply!

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