@programmerraj/rc-color-picker
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

@programmerraj/rc-color-picker

License npm version npm download TS-Standard - Typescript Standard Style Guide

Notice: This package is a fork of rc-color-picker. rc-color-picker has outdated dependencies which are deprecated and have vulnerabilities.

Development

You can use Storybook to see local changes.

npm run storybook

Example

Online example: http://chocolateloverraj.github.io/color-picker/

Features

  • Support color modes RGB and HSL
  • Slider for hue
  • Slider for alpha
  • Preview
  • Popup
  • TypeScript

Differences from rc-color-picker

  • Up to date dependencies without security vulnerabilities
  • TypeScript
  • Uses non deprecated React functions
  • Maintained
  • API for controlling color is different

Contributing

Please follow ts-standard code style. You can run npm run lint to check for any code style errors.

Possible New Features

  • Convenienter API
  • New color modes
  • More options related to popup

Install

rc-color-picker

Usage

import { ColorPicker } from '@chocolateloverraj/rc-color-picker'
import React from 'react'
import ReactDOM from 'react-dom'

ReactDOM.render(<ColorPicker />, container)

API

See the docs at http://chocolateloverraj.github.io/color-picker/

Package Sidebar

Install

npm i @programmerraj/rc-color-picker

Weekly Downloads

34

Version

3.0.1

License

MIT

Unpacked Size

63.1 kB

Total Files

42

Last publish

Collaborators

  • programmerraj