{"id":4167,"url":"https://github.com/netbeast/react-native-color-wheel","last_synced_at":"2025-08-21T15:09:32.607Z","repository":{"id":46932988,"uuid":"108150993","full_name":"netbeast/react-native-color-wheel","owner":"netbeast","description":":rainbow: A react native reusable and color picker wheel","archived":false,"fork":false,"pushed_at":"2022-12-07T10:14:38.000Z","size":1345,"stargazers_count":169,"open_issues_count":18,"forks_count":55,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-26T02:34:30.103Z","etag":null,"topics":["art","color-palette","color-picker","colorsys","javascript","npm-module","react","react-native"],"latest_commit_sha":null,"homepage":"https://getyeti.co","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netbeast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-24T16:02:18.000Z","updated_at":"2023-12-18T16:13:53.000Z","dependencies_parsed_at":"2023-01-24T16:45:25.190Z","dependency_job_id":null,"html_url":"https://github.com/netbeast/react-native-color-wheel","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-color-wheel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-color-wheel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-color-wheel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-color-wheel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netbeast","download_url":"https://codeload.github.com/netbeast/react-native-color-wheel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423514,"owners_count":20936626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["art","color-palette","color-picker","colorsys","javascript","npm-module","react","react-native"],"created_at":"2024-01-05T20:17:03.160Z","updated_at":"2025-04-06T02:08:11.870Z","avatar_url":"https://github.com/netbeast.png","language":"JavaScript","funding_links":[],"categories":["Components","Others"],"sub_categories":["UI"],"readme":"# react-native-color-wheel\n![npm version](https://badge.fury.io/js/react-native-color-wheel.svg)\n\n:art: A react native reusable and color picker wheel\n\n## Usage\n\n```javascript\nimport React, { Component } from 'react';\nimport { Dimensions, StyleSheet, View } from 'react-native';\nimport { ColorWheel } from 'react-native-color-wheel';\n\nconst Example = ({onChange}) =\u003e (\n  \u003cView style={{flex: 1}}\u003e\n    \u003cColorWheel\n      initialColor=\"#ee0000\"\n      onColorChange={color =\u003e console.log({color})}\n      onColorChangeComplete={color =\u003e onChange(color)}\n      style={{width: Dimensions.get('window').width}}\n      thumbStyle={{ height: 30, width: 30, borderRadius: 30}}\n    /\u003e\n    \u003cColorWheel\n      initialColor=\"#00ee00\"\n      style={{ marginLeft: 20, padding: 40, height: 200, width: 200 }}\n    /\u003e\n  \u003c/View\u003e\n);\n```\n\n## Props\n\n| Name                    | Description                                    | Type   |\n|-------------------------|------------------------------------------------|--------|\n| `initialColor`          | Initial value in hex format                    | String |\n| `onColorChange`         | Callback when the value is changed or moved    | func   |\n| `onColorChangeComplete` | Callback on mouseup or drag event has finished | func   |\n| `thumbSize`             | Width of draggable thumb                       | Number |\n| `thumbStyle`            | CSS for the draggable thumb                    | Object |\n\n\u003cimg alt=\"demo screenshot\" src=\"screenshot.png\" width=\"350\" /\u003e\n\nPRs and issues are more than welcome.\n\n\u003ca href=\"https://getyeti.co\" target=\"_blank\"\u003e\n   \u003cimg alt=\"works with yeti\" src=\"works-with-yeti.png\" width=\"100\" /\u003e\n\u003c/a\u003e\n\n\u003e This package powers [Yeti Smart Home](https://getyeti.co) and is used in production.\nFollow us in Github or https://twitter.com/netbeast_co.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetbeast%2Freact-native-color-wheel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetbeast%2Freact-native-color-wheel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetbeast%2Freact-native-color-wheel/lists"}