Skip to content
V

@vtaits/react-color-picker

React Color Picker

by vtaitsFree

#1223in UI Libraries
0In stores

Description

react-color-picker is a color picker component for React, described by its author as a resurrection of the older react-color-picker package.…

Highlights

  • Hue and saturation spectrum components
  • Use the full picker or each spectrum alone
  • onDrag and onChange callbacks
  • Fixed sizes and any extra props
  • MIT license

Ratings & Reviews

No ratings yet

Be the first to rate @vtaits/react-color-picker.

People also visit

R

react-color-palette

Lightweight Color Picker component for React

UI Libraries
Launch
A

@alisowski/color-picker

React color pickers from Sketch, Photoshop, Chrome, Github, Twitter & more

UI Libraries
Launch
R

react-colorful

A tiny (3,1 KB) color picker component for React and Preact apps

UI Libraries
Launch
R

React Color

A collection of color pickers from Sketch, Photoshop, Chrome

Design
Launch
R

react-gcolor-picker

React gradient color picker

UI Libraries
Launch
M

material-ui-color

The lightest colorpicker for React Material-Ui

UI Libraries
Launch

@vtaits/react-color-picker FAQ

Is react-color-picker free?

Yes. The README lists the license as MIT and the code is public on GitHub.

How do I install it?

Install the package with npm or yarn and include the index.css stylesheet. The README stresses that the styles must be included.

Can I use only one part of the picker?

Yes. The README shows that you can use just the hue spectrum or just the saturation spectrum.

What is the difference between onDrag and onChange?

onDrag fires during the drag, while onChange fires after the mouse is released and the colour has been selected.

How do I set the size?

Give the picker fixed values for saturationWidth, saturationHeight, hueWidth and hueHeight. The README says hueHeight defaults to saturationHeight.

What are the best @vtaits/react-color-picker alternatives?

Popular alternatives to @vtaits/react-color-picker include react-color-palette, @alisowski/color-picker and react-colorful. See all @vtaits/react-color-picker alternatives

Developer Stuff

Badges