{"id":13422109,"url":"https://github.com/elrumordelaluz/coloreact","last_synced_at":"2025-10-17T12:02:08.761Z","repository":{"id":9072791,"uuid":"60692267","full_name":"elrumordelaluz/coloreact","owner":"elrumordelaluz","description":"A tiny Color Picker for React","archived":false,"fork":false,"pushed_at":"2022-12-10T17:04:10.000Z","size":2918,"stargazers_count":91,"open_issues_count":21,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T18:07:57.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://elrumordelaluz.github.io/coloreact/","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/elrumordelaluz.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":"2016-06-08T11:15:35.000Z","updated_at":"2025-04-05T08:10:37.000Z","dependencies_parsed_at":"2023-01-13T15:30:10.349Z","dependency_job_id":null,"html_url":"https://github.com/elrumordelaluz/coloreact","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrumordelaluz%2Fcoloreact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrumordelaluz%2Fcoloreact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrumordelaluz%2Fcoloreact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrumordelaluz%2Fcoloreact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elrumordelaluz","download_url":"https://codeload.github.com/elrumordelaluz/coloreact/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252741370,"owners_count":21797027,"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":[],"created_at":"2024-07-30T23:00:37.048Z","updated_at":"2025-10-17T12:02:08.679Z","avatar_url":"https://github.com/elrumordelaluz.png","language":"JavaScript","funding_links":[],"categories":["UI Components","JavaScript","Demos","\u003csummary\u003eUI Components\u003c/summary\u003e"],"sub_categories":["Form Components"],"readme":"# ColoReact\n\nA tiny **Color Picker** for **React** [ [Demo](https://elrumordelaluz.github.io/coloreact/) ]\n\n\n### Install\n\n```\n$ npm i --save coloreact\n```\n\n### How to use\n\n```js\n\n  import ColorPicker from 'coloreact';\n\n  // ...\n  return (\n    \u003cColorPicker\n      opacity={true}\n      color={this.state.currentColor}\n      onChange={this.showColorNow}\n      onComplete={this.showLastColor} /\u003e\n    );\n  // ...\n\n```\n\n### Custom Parts\n\nIt is possible to create your own _ColorPicker_ using `Map` and `Slider`s.\n\n\n```js\n  import { Map, Slider } from 'coloreact';\n\n  // ...\n  return (\n    \u003cdiv className=\"myColorPicker\"\u003e\n      \u003cMap\n        x={this.state.saturation}\n        y={this.state.value}\n        max={100}\n        backgroundColor={this.getHue()}\n        onChange={this.handleSaturationValue}\n      /\u003e\n      \u003cSlider\n        vertical={true}\n        value={this.state.hue}\n        max={360}\n        onChange={this.handleHue}\n      /\u003e\n    \u003c/div\u003e  \n  // ...\n\n\n```\n\n### Examples\n\n[Live examples](https://elrumordelaluz.github.io/coloreact/) | \n[Code](https://github.com/elrumordelaluz/coloreact/tree/master/examples)\n\n```\n$ npm start\n# goto http://localhost:3040/\n```\n\n### License and Attribution\n\nThe project start as a derivate of the awesome [react-simple-colorpicker](https://github.com/WickyNilliams/react-simple-colorpicker) which is based on [react-colorpicker](https://github.com/stayradiated/react-colorpicker).  Licensed MIT.\n\n### Docs \n\ncoming soon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felrumordelaluz%2Fcoloreact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felrumordelaluz%2Fcoloreact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felrumordelaluz%2Fcoloreact/lists"}