Skip to main content
Philip_Meander
New Member
Feb 8, 2024 2:40 PM UTC

Ignore variable group names?

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
Feb 8, 2024 3:03 PM UTC

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
Feb 13, 2024 5:43 AM UTC

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
Dec 2, 2024 5:42 AM UTC

+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
Feb 7, 2025 3:33 PM UTC

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
Jun 12, 2025 4:06 AM UTC

+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
Oct 6, 2025 3:45 PM UTC

+1

Kallichore
New Member
Mar 19, 2026 3:51 PM UTC

+1

Ihor Romanchuk
New Member
Apr 15, 2026 4:50 PM UTC

+1

Wanyun
New Member
Apr 23, 2026 2:17 PM UTC

+1

IraX
Power Member
Jun 7, 2026 7:58 PM UTC

+1