DEV Community

Discussion on: Building a simple Colour Picker in React from scratch

Collapse
 
yaireo profile image
Yair Even Or

There is no logic in building color picker in React because you are putting a lot of effort one something which can only fit a single eco-system (React)

I am the author of a very good color minimal picker, and almost all my components in vanilla JS so they could be used in any framework

npmjs.com/package/@yaireo/color-pi...

Since this component is most-likely meant to be rendered as a popup, it can be easily integrated with existing React code, since the rendered output is injected to the <body> level