JSPM

@programmerraj/rc-color-picker

3.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 83
  • Score
    100M100P100Q72076F
  • License MIT

color-picker ui component for react

Package Exports

  • @programmerraj/rc-color-picker

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@programmerraj/rc-color-picker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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/