This content originally appeared on DEV Community and was authored by Wondermarin
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 />;
};
This content originally appeared on DEV Community and was authored by Wondermarin
Wondermarin | Sciencx (2021-08-18T20:29:56+00:00) react-color-palette: <ColorPicker /> component for your React project.. Retrieved from https://www.scien.cx/2021/08/18/react-color-palette-colorpicker-component-for-your-react-project/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.