Skip to main content
Greg_Smith
New Member
July 28, 2023
Question

Figma plugin to respond to user's behavior

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 replies.

2 replies

clayton_fussell
New Member
September 5, 2023

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
September 5, 2023

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

The reply above is better 🙂