{"repo":"Wondermarin/react-color-palette","free":true,"listed":false,"github":"https://github.com/Wondermarin/react-color-palette","clone":"git clone https://github.com/Wondermarin/react-color-palette.git","description":"🎨 Lightweight Color Picker component for React.","language":"TypeScript","stars":341,"topics":["react","react-component","color-picker","color-palette","palette","picker","color","hex"],"license":"MIT","category":"ui-components","readme_excerpt":"🎨 Lightweight &lt;ColorPicker /&gt; component for React . Installation yarn npm Usage Examples Usage rgb() in useColor() Usage in useColor() Custom Layout HEX input only onChangeComplete optional callback API The main component, which includes: &lt;Saturation /&gt; , &lt;Hue /&gt; , &lt;Alpha /&gt; and &lt;Fields /&gt; components for instant use. If you need a custom layout, then you can use &lt;Saturation /&gt; , &lt;Hue /&gt; and &lt;Alpha /&gt; components separately, which are also exported from the library. Prop Type Default Description height number 200 Height of the Saturation component in pixels. hideAlpha boolean false Hides the Alpha component. hideInput (keyof IColor )[] boolean false If boolean: hides all inputs if true or displays all inputs if false. If array: hides all inputs listed in the array. color IColor Current color . disabled boolean false Disables interactivity. onChange Function Сallback function will be fired when color changes. onChangeComplete Function Callback function will be fired when the interaction is complete with the color picker. Prop Type Default Description height number Height of the saturation element in pixels. color IColor Current color . disabled boolean false Disables interactivity. onChange Function Сallback function will be fired when color changes. onChangeComplete Function Callback function will be fired when the interaction is complete with the saturation picker. Prop Type Default Description color IColor Current color . disab","default_branch":null,"files":null,"tree":[],"storefront":"/r/Wondermarin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Wondermarin/react-color-palette/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}