Skip to main content
mark.braithwaite
New Participant
July 21, 2026
Solved

Variant properties (State=Default, Color=Blue) rejected as invalid when renaming layer

  • July 21, 2026
  • 18 replies
  • 328 views

Variant layer names in the format Prop=Value (e.g., State=Selected) work correctly and are reflected in the "Current variant" panel. However, simply clicking into the layer name field to select/focus it — with no actual edit — and then clicking away causes Figma to throw:

"This layer has an invalid name. Make sure that all variant names are of the form: Prop=Value, Prop=Value, …"

After this happens, the "Current variant" panel's State dropdown shows "—" (empty/unset) instead of the correct value.

Steps to reproduce:

  1. Open a component set with a variant layer named in valid format, e.g., State=Selected (property recognized correctly, shown in Current variant panel as State: Selected).
  2. Click on the layer name in the Layers panel to select/focus it (do not type or change anything).
  3. Click away, back onto the canvas.
  4. Error appears: "This layer has an invalid name…" and the Current variant panel now shows State: "—".

Expected behavior:
Clicking into a layer name field without making changes should not alter or invalidate the variant property.

Actual behavior:
The act of focusing (and possibly blurring) the name field alone is enough to break the variant parsing — no text change required.

Notes / things to check:

  • Suggests the name field's blur/commit handler may be re-serializing or re-validating the name incorrectly, stripping or misreading the Prop=Value structure even when untouched.
  • Confirmed happening on a single-property variant (State=Selected), so this isn't limited to multi-property names like State=Default, Color=Blue.
Best answer by Celyn_L

Hi everyone, Celyn here. I work closely with ​@Tom Reem.

Our Engineering team has pushed a fix and confirmed that the issue has been resolved. Please refresh your files and let us know if you’re still experiencing any issues.

Thanks again for reporting this and for your patience while we worked on getting it resolved!

 

18 replies

Tom Reem
Figmate
Figmate
July 21, 2026

Hi ​@M.ant and ​@Mark Braithwaite — thanks for the reports, and for providing the video. I’ve merged your posts into this thread so we can track this issue in one place. We've flagged this to our Technical Quality team to investigate, and we'll post updates here as they come.

Tom Reem
Figmate
Figmate
July 21, 2026

Update: The Technical Quality team escalated this to Engineering, who's now working on a fix. We'll post here as soon as it's deployed.

Thanks again for the reports, and for your patience as we work on a resolution.

Celyn_L
Figmate
Celyn_LAnswer
Figmate
July 22, 2026

Hi everyone, Celyn here. I work closely with ​@Tom Reem.

Our Engineering team has pushed a fix and confirmed that the issue has been resolved. Please refresh your files and let us know if you’re still experiencing any issues.

Thanks again for reporting this and for your patience while we worked on getting it resolved!

 

mark.braithwaite
New Participant
July 22, 2026

@Celyn_L ​@Tom Reem first glance seems to be working, though variant layer names now contain the entire string, even if I create a new component. No sure what impact that has other than not being convenient. 

 

 

Celyn_L
Figmate
Figmate
July 22, 2026

Hi ​@mark.braithwaite, thanks for confirming that the original issue appears to be resolved, and I appreciate you calling out this behavior.

I'm checking with the team to confirm whether the variant layer names displaying the full property string is expected and I'll share an update here as soon as I hear back.

Thanks again for flagging it!

Tom Reem
Figmate
Figmate
July 22, 2026

Hi everyone, back with an update!

I checked in with the Engineering team and confirmed that the variant layer name behavior ​@mark.braithwaite described here is being tracked as a separate issue.

We can't share a specific timeline for a resolution yet, but the fix is under review. We'll post updates here as we learn more.

Tom Reem
Figmate
Figmate
July 27, 2026

Hello again, everyone!

Quick followup: The variant layer name behavior ​@mark.braithwaite flagged has now been fixed. If you haven't already, refresh the tab you're working in and let me know whether the error's cleared.

Again, thanks for your patience on this one. 🙏🏻

mark.braithwaite
New Participant
July 27, 2026

Thank you!