Description:
I would like the ability to create variables directly from a selected component in the canvas or assets panel.
Current Behavior:
Currently, to create a variable that references a component, I must manually set it up in the Variables panel, which involves multiple steps and disconnects the workflow from the component itself.
Proposed Solution:
Enable a right-click option on any component (or an option in the top bar) to “Create Variable from Component.” This would automatically populate the variable name and link the component instance as the value.
Benefits:
-
Speeds up design system setup
-
Improves discoverability and adoption of variables
-
Enables more modular and scalable design tokens