Dev-Mode display actual HTML button

In dev-mode, you can add a code snippet, like a short html snippet. Is there a way, to add an actual html-button in dev-mode? I’m asking because I want to create a button in dev-mode, that when you click it opens an ifram using figma.showUI with the documentation for the selected element.

You can’t change Figma’s UI using plugins, but you can create a plugin that works in dev mode on both the Inspect and Plugins tabs.

Please see the following plugin sample: