reanimated-color-picker
Version:
A Pure JavaScript Color Picker for React Native
85 lines (51 loc) • 4.5 kB
Markdown
#  Reanimated Color Picker
[](https://www.npmjs.com/package/reanimated-color-picker)
[](https://github.com/alabsi91/reanimated-color-picker/blob/main/LICENSE)
[](https://github.com/alabsi91/reanimated-color-picker/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)


- **A Pure JavaScript Color Picker for React Native.**
- **Highly customizable.**
- **Supports IOS, Android, Expo, and Web platforms.**
- **Supports right-to-left (RTL) layouts.**












## Examples
- [Interactive Demo on Expo Snack](https://snack.expo.dev/@alabsi91/reanimated-color-picker)
- [TypeScript Example Code](https://github.com/alabsi91/reanimated-color-picker/tree/main/ExamplesShared)
- [Download APK for Demo Examples (Android)](https://github.com/alabsi91/reanimated-color-picker/releases/latest)
## Prerequisites
- Follow the installation instructions by using the links provided below.
- [react-native-gesture-handler](https://docs.swmansion.com/react-native-gesture-handler/docs/installation) version `2.0.0` or higher.
- [react-native-reanimated](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/getting-started/#installation) version `2.0.0` or higher.
- For `Expo` managed workflow version `44` or higher is required.
## Installation
> **Note**
> First we need to install [react-native-gesture-handler](https://docs.swmansion.com/react-native-gesture-handler/docs/installation)(>=2.0.0) and [react-native-reanimated](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation)(>=2.0.0),
- Open a Terminal in the project root and run:
```
npm i reanimated-color-picker
```
## Fabric support
- `react-native-gesture-handler` supports the new architecture since version `2.3.0`.
- `react-native-reanimated` supports the new architecture since version `3.0.0`.
## Usage
### [📖 View the documentation site 📖](https://alabsi91.github.io/reanimated-color-picker/)
> Related library, [React Native Material You Colors](https://github.com/alabsi91/react-native-material-you-colors).
## License
- Reanimated Color Picker library is licensed under [**The MIT License.**](https://github.com/alabsi91/reanimated-color-picker/blob/main/LICENSE)
## Sponsoring
<a href="https://github.com/sponsors/alabsi91">
<img align="right" width="160" alt="This library helped you? Consider sponsoring!" src=".github/funding-octocat.svg">
</a>
If you're integrating Reanimated Color Picker in a production app, consider [funding this project](https://github.com/sponsors/alabsi91) and <a href="mailto:alabsi91@gmail.com">contact me</a> .