Identify if a Local Variable is being used and where it's being used more easily

When you click on a component set, the UI will show you which properties are being used and which ones are not. When one isn’t being used it shows an exclamation point. This allows the user to clean up the properties without guesswork.

I would love to see something like this for Local Variables.
Screenshot 2024-01-23 at 4.09.48 PM

As a bonus, I would love to be able to see all of the places a local variable is being used. That way instead of opening each layer, and hunting for a tag, I could maybe see a list of where it’s applied. Like when you use the search function. :wink:


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!


1 Like

I’m refactoring local variables and it would be a big help to have a simple feature like this. A “where used” feature would be even better, but this would be a great start.


+1 for the “where used” feature. I work on a ginormous design system with multiple brands and have to create and manage the documentation for this manually. If such a feature existed, it would save so much time!

re-organizing local variables and its a mess to find what is not in use anymore

1 Like