An Interest In:
Web News this Week
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
August 18, 2021 08:29 pm GMT
react-color-palette:
Original Link: https://dev.to/wondermarin/react-color-palette-colorpicker-component-for-your-react-project-29ng
react-color-palette: component for your React project.
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 />;};
Original Link: https://dev.to/wondermarin/react-color-palette-colorpicker-component-for-your-react-project-29ng
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To