Hi there, I’m building first plugin that allows to manage layers as class names, sort of it. I’d like to implement a confirmation modal when the user decide to delete an item, the classic “Are you sure you want to delete this?”. Now I’m not sure how to implement such behavior. Any help?
best advice here would be to do the confirmation inside of the plugin ui window. you would provide your own style for it and you could have it take over the plugin ui window if you wanted. you cant have a confirmation leave that iframe though or present a confirmation dialog over the figma app. it would stay inside the iframe’d plugin ui area.
1 Like
Thanks mate for your reply. So best advice in term of components would be some sort of tooltip or popover, for sure something that will stay into the iframe, got it thanks!
1 Like