FAQ #

Which Node version should I use? #

Currently we are using the v22.2.0

Should I create my plugin for dark and light themes? #

It’s not obligatory but keep in mind that the containing modal will change colors automatically to match Penpot’s theme. Check this example on how to apply dark and light themes to your plugin.

Should I always host my plugin? #

By the time being any and all plugins must be hosted independently and outside the Penpot environment. Check the documentation for a guide on how to deploy your plugin on some deployment services like Netlify or Cloudflare.

Is there any way to export my figma plugins to penpot? #

No. The feature set of figma and penpot are not the same so it’s not compatible.

You can make it any size since it will be automatically adjusted to 56x56 px in the plugin manager modal. Just make sure to keep it square size.

Are there any naming conventions for the plugin name? #

The name of the plugin should be short and followed by the suffix ‘-plugins’, like ‘shape-remover-plugin’.

Which framework do you recommend for creating the plugin? #

Any framework you are familiar with would be a good choice. Our examples are in vue, angular and react. Check the documentation

Is it necessary to use the plugin styles library? #

The plugin styles library is not obligatory, although we recommend its use because it'll help you with the dark and light theming and to maintain the Penpot look-and-feel.

Is the API ready to use the prototyping features? #

Absolutely! You can definitely create flows and interactions in the same elements as in the interface, like frames, shapes, and groups. Just check out the API documentation for the methods: createFlow, addInteraction, or removeInteraction. And if you need more help, you can always check out the PenpotFlow or PenpotInteraction interfaces.

Are there any security or quality criteria I should be aware of? #

There are no set requirements. However, we can recommend the use of eslint or prettier, which is what we use.

Is it necessary to create plugins with a UI? #

No, it’s completely optional, in fact, we have an example of a plugin without UI. Try the plugin using this url to install it: https://create-palette-penpot-plugin.pages.dev/assets/manifest.json or check the code here

Can I create components? #

Yes, it is possible to create components using:

createComponent(shapes: Shape[]): LibraryComponent;

Take a look at the Penpot Library methods in the API documentation or this simple example.

Is there a place where I can share my plugin? #

You will be able to share your plugin with the Penpot community. In the future, we plan to create a place where we will publish the plugins we know about, but this is still something we have to define.

My plugin works on my local machine, but I couldn’t install it on Penpot. What could be the problem? #

The url you that you need to provide in the plugin manager should look like this: https://yourdomain.com/assets/manifest.json

Where can I get support if I find a bug or an unexpected behavior? #

You can report a problem or request support at [email protected].