Skip to main content
Philip_Meander
New Member
February 8, 2024

Ignore variable group names?

  • February 8, 2024
  • 10 replies
  • 616 views

When creating tokens and working with variables Dev Mode generates code where the group name is included as part of the token name. Currently this doesn’t make too much sense (for me at least) and in Figmas own variables tutorial it would result in spacing tokens being called “SpacingSpacing-sm” if you would look at the tokens in Dev Mode.

Can we please get an option to exclude the group names from the generated code? The groups as I seem them are for organising and not necessarily something we want to automatically include in the token name.

Semantics are important for tokens so if I have to leave out part of the name and only have it as part of a group name it makes reading the token and using it correctly in Figma so much harder.

Definitely interested in hearing others experience regarding this! Maybe i missed something or should rethink our structure.

10 replies

Philip_Meander
New Member
February 8, 2024

Creating your own syntax was one solution that solved this for me, if someone else has similar issue 😀 . Would still be nice with that option though.

y_toku
Figmate
Community Support
February 13, 2024

Hi there,

Thank you for sharing your idea! We greatly value your feedback, and we would like to gauge the reaction of other members in the community. We may consider it for future enhancements!

Thanks,
Toku

Kurt_Walsh
December 2, 2024

+1 to this. It’s not a fantastic separation of concerns, particularly for consumers who want to separate the token name, from how we organise/classify them.

Would love to see an option where the file path can be excluded from the name of the token, as not all token systems are represented in nested JSON environments.

Thibault SABOUREAU
New Member
February 7, 2025

Hello, i’d like to give another +1 to this topic. Having to choose between not organizing your variables in figma or not choosing the semantics of your variables is realy frustrating.

Ronald Raharjo
New Member
June 12, 2025

+1, we are facing this issue now where we need the group name to organise the growing tokens, but devs don’t need them as part of their naming convention because they are superflous.

I have dozens of status colour tokens all grouped under Status. When exported the name for example becomes: --status-status-critical. We just want to remove the prefix group name of ‘status’. But we need to retain the real name ‘status-critical’ so our designers can find the right tokens when using the Figma Property panels.

Saleena_Beharry1
New Participant
October 6, 2025

+1

Kallichore
New Member
March 19, 2026

+1

Ihor Romanchuk
New Member
April 15, 2026

+1

Wanyun
New Member
April 23, 2026

+1

IraX
Power Member
June 7, 2026

+1