Local Variables

Hi I want to use a blank string in local variables how do I do this.

Hi Jona,

Thank you for your question! I’m currently checking with our internal team to see if there’s a solution. I’ll let you know as soon as I receive a response!


Hey, Thanks for your patience!

The workaround here is inputting just a single space (pressing a space key on your keyboard) for the string variable.

Please give it a try! If you’re having trouble setting the empty string, feel free to share a screen recording of the issue so that we can take a closer look!

You can actually create a string variable with an empty value (without using the space character). This is possible using the Plugin API. Try searching for plugins in the Figma Community for working with variables, or, if you know programming—use the setValueForMode method.

1 Like