All Projects → uiwjs → react-color

uiwjs / react-color

Licence: MIT license
🎨 Is a tiny color picker widget component for React apps.

Programming Languages

typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to react-color

Colorpicker
A mininal but complete colorpicker desktop app
Stars: ✭ 766 (+1432%)
Mutual labels:  hex, color, color-picker
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: ✭ 271 (+442%)
Mutual labels:  color, widget, color-picker
ColorTranslator
A JavaScript library, written in TypeScript, to convert among different color models
Stars: ✭ 34 (-32%)
Mutual labels:  color, rgba, rgba-color
Iro.js
🎨 Modular color picker widget for JavaScript, with support for a bunch of color formats
Stars: ✭ 796 (+1492%)
Mutual labels:  color, widget, color-picker
color
A library of well-tested helper methods for working with colors.
Stars: ✭ 13 (-74%)
Mutual labels:  hex, color, rgba
Pikolo
An android color picker library
Stars: ✭ 142 (+184%)
Mutual labels:  color, slider, color-picker
Pickr
🎨 Flat, simple, multi-themed, responsive and hackable Color-Picker library. No dependencies, no jQuery. Compatible with all CSS Frameworks e.g. Bootstrap, Materialize. Supports alpha channel, rgba, hsla, hsva and more!
Stars: ✭ 3,759 (+7418%)
Mutual labels:  color, widget, color-picker
colors-convert
🦚 A simple colors library
Stars: ✭ 15 (-70%)
Mutual labels:  hex, rgba, rgba-color
React Colorful
🎨 A tiny (2,5 KB) color picker component for React and Preact apps
Stars: ✭ 951 (+1802%)
Mutual labels:  hex, color, color-picker
ColorPickerLib
A WPF/MVVM implementation of a themeable color picker control.
Stars: ✭ 44 (-12%)
Mutual labels:  color, color-picker
tc-lib-color
PHP library to manipulate various color representations
Stars: ✭ 19 (-62%)
Mutual labels:  color, rgba
khroma
A collection of functions for manipulating CSS colors, inspired by SASS.
Stars: ✭ 28 (-44%)
Mutual labels:  hex, color
Dynamiccolor
Yet another extension to manipulate colors easily in Swift and SwiftUI
Stars: ✭ 2,677 (+5254%)
Mutual labels:  hex, color
Jscolor
JavaScript color picker with opacity (alpha channel) and customizable palette. Single file of plain JS with no dependencies.
Stars: ✭ 182 (+264%)
Mutual labels:  hex, color-picker
wui
Collection of GUI widgets for the web
Stars: ✭ 44 (-12%)
Mutual labels:  widget, slider
Color
A little library to deal with color conversions
Stars: ✭ 166 (+232%)
Mutual labels:  hex, color
ichiColor
Full features javascript color parser module, perfect work with vue.js; support RGB, HSL, HSV/HSB, HSL255, HSL240, HWB, XYZ, LAB, LUV, LHCab, xyY...
Stars: ✭ 23 (-54%)
Mutual labels:  color, rgba
react-native-image-color-picker
Image color picker based on image source provided and return image different color palettes or average color palette
Stars: ✭ 25 (-50%)
Mutual labels:  color, color-picker
Values.js
🍇 Get the tints and shades of a color
Stars: ✭ 97 (+94%)
Mutual labels:  hex, color
dehex
🎨👀 R package: learn to assess a colour hex code by eye
Stars: ✭ 29 (-42%)
Mutual labels:  hex, color
react-color is a tiny color picker widget component for React apps. These components can be installed and used separately.

Getting Started

npm i @uiw/react-color

Open in CodeSandbox Open in Github gh-pages

import { Slider, Sketch, Material, Colorful, Compact, Circle, Wheel, Block, Github, Chrome } from '@uiw/react-color';
import { Alpha, Hue, ShadeSlider, Saturation, Interactive, hsvaToHslaString } from '@uiw/react-color';
import { EditableInput, EditableInputRGBA, EditableInputHSLA } from '@uiw/react-color';

function Demo() {
  const [hex, setHex] = useState("#fff");
  return (
    <Sketch
      style={{ marginLeft: 20 }}
      color={hex}
      onChange={(color) => {
        setHex(color.hex);
      }}
    />
  );
}

Packages

Package Bundle size(gzip) Version / unpkg
@uiw/react-color npm bundle size npm bundle size npm version Open in unpkg
@uiw/react-color-sketch bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-slider bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-compact bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-material bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-colorful bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-wheel bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-circle bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-block bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-chrome bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-github bundle size bundle size(gzip) npm version Open in unpkg

Base Components

Package Bundle size(gzip) Version / unpkg
@uiw/react-color-saturation bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-hue bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-alpha bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-swatch bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-shade-slider bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-editable-input bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-editable-input-rgba bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-editable-input-hsla bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-drag-event-interactive bundle size bundle size(gzip) npm version Open in unpkg
@uiw/color-convert bundle size bundle size(gzip) npm version Open in unpkg
@uiw/react-color-name bundle size bundle size(gzip) npm version Open in unpkg

Development

npm install       # Installation dependencies
npm run build     # Compile all package
cd packages/color-block
# listen to the component compile and output the .js file
# listen for compilation output type .d.ts file
npm run watch # Monitor the compiled package `@uiw/react-block`
npm run start     # development mode, listen to compile preview website instance

License

Licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].