Skip to main content
Question

Figma plugin to respond to user's behavior


Greg_Smith

My plugin goal is to show a modal that responds to a user’s interaction with design system components. For example:

  • User drags component to their file
  • Component has constrained property settings in the right sidebar that align to coded component props (this is the only place we want users to customize components)
  • User makes a change to the component in the left layers
  • Modal appears with a message “Whoops! That’s not allowed.”

Is this kind of conditional logic in a plugin possible?

This topic has been closed for comments

2 replies

What specific problem(s) are you trying to solve?
The users - are they designers in your team? Why do you want to constrain them? To enforce design system rules? Another option is to use things like peer reviewing changes?


Gleb
  • Power Member
  • 4707 replies
  • September 5, 2023

This isn’t possible unless the plugin is actively running.

The reply above is better 🙂


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings