https://github.com/hello-pangea/color-picker
🎨 React color pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
https://github.com/hello-pangea/color-picker
color color-picker javascript react typescript
Last synced: about 1 year ago
JSON representation
🎨 React color pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
- Host: GitHub
- URL: https://github.com/hello-pangea/color-picker
- Owner: hello-pangea
- License: mit
- Created: 2022-08-28T22:48:30.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-19T02:02:49.000Z (over 3 years ago)
- Last Synced: 2025-04-28T11:19:03.066Z (about 1 year ago)
- Topics: color, color-picker, javascript, react, typescript
- Language: TypeScript
- Homepage: https://colorpicker.hellopangea.dev
- Size: 10.8 MB
- Stars: 68
- Watchers: 4
- Forks: 15
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Pangea color picker
[![Npm Version][npm-version-image]][npm-version-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]
Simple color picker for React.
- **🔨 13 different pickers** - Start building with Sketch, Photoshop, Chrome and many more
- **🎨 Make your own** - Use React Context and our building blocks to create any custom component
- **🌲 Tree shakeable**
- [**📖 Examples**](https://colorpicker.hellopangea.com)
This library is a fork of [react-color](https://github.com/casesandberg/react-color) and builds on the amazing work of @casesandberg
## Demo

[**Live Demo**](https://colorpicker.hellopangea.com)
## Installation & Usage
```sh
npm install @hello-pangea/color-picker
```
### Include the Component
```js
import React from "react";
import { SketchPicker } from "@hello-pangea/color-picker";
function App() {
return ;
}
```
You can import `AlphaPicker` `BlockPicker` `ChromePicker` `CirclePicker` `CompactPicker` `GithubPicker` `HuePicker` `MaterialPicker` `PhotoshopPicker` `SketchPicker` `SliderPicker` `SwatchesPicker` `TwitterPicker` respectively.
[license-image]: https://img.shields.io/npm/l/@hello-pangea/color-picker
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/@hello-pangea/color-picker
[downloads-url]: https://npm-stat.com/charts.html?package=@hello-pangea/color-picker
[npm-version-image]: https://img.shields.io/npm/v/@hello-pangea/color-picker
[npm-version-url]: https://www.npmjs.com/package/@hello-pangea/color-picker