Hello everyone!
I would like to introduce you to my <ColorPicker /> component.
I will be glad of any feedback, have a nice day!
Features:
- 🚀 Lightweight
- 💨 No dependencies
- 🛡️ Strict
Installation
npm
npm install react-color-palette
yarn
yarn add react-color-palette
Usage
import { ColorPicker, useColor } from "react-color-palette";
import "react-color-palette/lib/css/styles.css";
export const App = () => {
const [color, setColor] = useColor("hex", "#121212");
return <ColorPicker width={456} height={228} color={color} onChange={setColor} hideHSV dark />;
};
Top comments (0)