{"id":28403290,"url":"https://github.com/react-r/colorpicker-example","last_synced_at":"2025-10-19T06:41:31.470Z","repository":{"id":56080466,"uuid":"173152037","full_name":"react-R/colorpicker-example","owner":"react-R","description":"Example of a react-color based Shiny input for picking colors","archived":false,"fork":false,"pushed_at":"2020-11-26T15:55:25.000Z","size":357,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T02:31:27.916Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/react-R.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-28T17:00:06.000Z","updated_at":"2023-07-28T07:49:20.000Z","dependencies_parsed_at":"2022-08-15T12:50:14.442Z","dependency_job_id":null,"html_url":"https://github.com/react-R/colorpicker-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-R%2Fcolorpicker-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-R%2Fcolorpicker-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-R%2Fcolorpicker-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-R%2Fcolorpicker-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-R","download_url":"https://codeload.github.com/react-R/colorpicker-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-R%2Fcolorpicker-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258739476,"owners_count":22749832,"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":"2025-06-01T17:36:08.823Z","updated_at":"2025-10-19T06:41:26.451Z","avatar_url":"https://github.com/react-R.png","language":"JavaScript","readme":"# react-color Shiny input\n\nThis example demonstrates creating a [Shiny\ninput](https://shiny.rstudio.com/articles/building-inputs.html) wrapper around\nthe [react-color](https://github.com/casesandberg/react-color) library.\n\n# Building\n\nBecause this package includes JavaScript source code that requires a compilation\nstep, package installation is in two phases: JavaScript tools build the\nJavaScript, and R tools build and install the package. The R package includes\nthe built JavaScript files in the `inst/` directory.\n\n## JavaScript Build Requirements\n\nBuilding JavaScript should work on macOS, Linux, and Windows. The following\ntools are necessary regardless of your platform:\n\n- [Node.js](https://nodejs.org/en/)\n- [Yarn](https://yarnpkg.com/en/)\n\n## R Build Requirements\n\nYou should install the `reactR` package if you haven't, as this input depends\non it.\n\n## Development Workflow\n\nAfter you've installed Node.js and Yarn, run the following command to resolve\nand download dependencies:\n\n```\nyarn install\n```\n\nNow, run `yarn` to build `www/colorpicker/colorpicker/colorpicker.js`:\n\n```\nyarn run webpack\n```\n\n\u003e To run `yarn webpack` automatically whenever sources change, use the command\n\u003e `yarn run webpack --watch`\n\nNow that the JavaScript is built, you can install the R package:\n\n```\ndevtools::document()\ndevtools::install()\n```\n\nFinally you can try the example app by running [app.R](app.R).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-r%2Fcolorpicker-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-r%2Fcolorpicker-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-r%2Fcolorpicker-example/lists"}