Color picker in plugin UI



Is there a way to add color picker to plugin UI? I want user to be able to select a color. Or at the very least offer a few preset colors to pick from.

Thanks for your feedback in advance.


There is no API generating color picker UI. However, nothing stops you from building a simple color picker with a few preset colors yourself. Also since the XD 15 update, you are able to read/write user’s assets panel.


I’ve implemented a simple color picker that gets assets colors in my Frame Maker plugin.

If you need to look at the code:

Hope it helps.
Keep in mind that I’m just a designer so the javascript logic could be not very professional.


This is very helpful. Thanks!


Cool :slight_smile: Love the integration w/ Assets!