# color-picker-g

> Simple colorpicker used with value & onChange property

Latest version **0.1.22** (published 2023-11-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install color-picker-g
pnpm add color-picker-g
yarn add color-picker-g
bun add color-picker-g
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.22 |
| Published | 2023-11-10 |
| First published | 2020-01-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 54.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | GantFDT |
| Maintainers | wujiaxian, liuyanlu, favori, eyelly, vvey, zhangdousang, solinma, yunfang |
| Keywords | React, antd, color, rgb, ui |

## Links

- npm: https://www.npmjs.com/package/color-picker-g
- Repository: https://github.com/gantFDT/GantD
- Homepage: http://www.gant.design
- Issues: https://github.com/gantFDT/GantD/issues
- npm.io page: https://npm.io/package/color-picker-g

## Dependencies (4)

- [antd](https://npm.io/package/antd.md) ^3.26.5
- [react](https://npm.io/package/react.md) ^16.12.0
- [react-color](https://npm.io/package/react-color.md) ^2.17.3
- [@ant-design/colors](https://npm.io/package/@ant-design/colors.md) ^3.1.0

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 0.1.22 (latest) — 2023-11-10
- 0.1.21 — 2023-11-09
- 0.1.20 — 2021-09-30
- 0.1.19 — 2021-07-27
- 0.1.18 — 2021-04-07
- 0.1.17 — 2021-03-16
- 0.1.16 — 2021-03-02
- 0.1.15 — 2021-03-01
- 0.1.13 — 2020-12-29
- 0.1.12 — 2020-12-08
- 0.1.11 — 2020-08-31
- 0.1.10 — 2020-08-20
- 0.1.9 — 2020-08-02
- 0.1.8 — 2020-05-12
- 0.1.7 — 2020-05-01
- … 20 more at https://npm.io/package/color-picker-g/versions

## README

# color-picker-g

---
ColorPicker component based on antd with [`React`](https://facebook.github.io/react/)

[![NPM version][npm-image]][npm-url]

[npm-image]: https://img.shields.io/npm/v/color-picker-g.svg
[npm-url]: https://www.npmjs.com/package/color-picker-g

## Screenshot

<img src='./shortcut.png' width='408'>


## Demo

online example: https://favori.gitee.io/gantd-landing (CodePen)

## install

[![rc-tabs](https://nodei.co/npm/color-picker-g.png)](https://npmjs.org/package/color-picker-g)

## Feature

- Standard color board based on Antd
- Support read and write separation

## Usage

```js
import React from 'react';
import ColorPicker from 'color-picker-g';

function BasicUse() {
  const [color, setColor] = useState('#EB2F96');
  return <ColorPicker
      value={color}
      onChange={setColor.bind(null)}
    />
}

React.render(<BasicUse/>, mountNode);
```

## API

[Documentation](https://jhildenbiddle.github.io/css-vars-ponyfill)

## Contact

- Create a [Github issue](https://github.com/jhildenbiddle/css-vars-ponyfill/issues) for bug reports, feature requests, or questions
- Follow [@GantFDT](https://twitter.com/jhildenbiddle) for announcements
- Add a ⭐️ [star on GitHub](https://github.com/jhildenbiddle/css-vars-ponyfill) to support the project❤️!

## Anthor 

GantFDT

## License

MIT

---
_Source: https://npm.io/package/color-picker-g · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
