Color picker in plugin UI

ui

#1

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.


#2

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.


#3

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.


#4

This is very helpful. Thanks!


#5

Cool :slight_smile: Love the integration w/ Assets!