{"id":17449667,"url":"https://github.com/bolonio/react-component-range","last_synced_at":"2026-02-09T06:06:37.506Z","repository":{"id":34052716,"uuid":"165694256","full_name":"bolonio/react-component-range","owner":"bolonio","description":"React Component Range is a simple and minimal React input range component","archived":false,"fork":false,"pushed_at":"2022-12-09T10:50:39.000Z","size":4266,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-27T00:29:46.655Z","etag":null,"topics":["input","input-range","javascript","range","range-component","range-slider","react","react-component","react-components","reactjs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-component-range","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/bolonio.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-01-14T16:27:26.000Z","updated_at":"2021-05-27T07:56:03.000Z","dependencies_parsed_at":"2023-01-15T04:15:30.606Z","dependency_job_id":null,"html_url":"https://github.com/bolonio/react-component-range","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bolonio/react-component-range","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolonio%2Freact-component-range","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolonio%2Freact-component-range/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolonio%2Freact-component-range/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolonio%2Freact-component-range/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bolonio","download_url":"https://codeload.github.com/bolonio/react-component-range/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolonio%2Freact-component-range/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270033321,"owners_count":24515479,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["input","input-range","javascript","range","range-component","range-slider","react","react-component","react-components","reactjs"],"created_at":"2024-10-17T21:45:42.123Z","updated_at":"2026-02-09T06:06:32.473Z","avatar_url":"https://github.com/bolonio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-component-range\n\n[![npm version](https://img.shields.io/npm/v/react-component-range.svg?style=flat)](https://www.npmjs.com/package/react-component-range)\n[![Build Status](https://travis-ci.org/bolonio/react-component-range.svg?branch=master)](https://travis-ci.org/bolonio/react-component-range)\n\nReact Component Range is a simple and minimal React input range component\n\n## Install\n\n    npm install react-component-range\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport ReactRange from \"react-component-range\";\n\nclass App extends Component {\n  onChange = value =\u003e {\n    console.debug(\"Value: \", value);\n  };\n\n  render() {\n    return (\n      \u003cReactRange\n        min={0}\n        max={100}\n        defaultValue={50}\n        ariaLabel=\"Slider to adjust the volume\"\n        onChange={this.onChange}\n      /\u003e\n    );\n  }\n}\n\nexport default App;\n```\n\n## Props\n\n| Name           | Type     | Default    | Description                                                                                                                            |\n| -------------- | -------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- |\n| id             | string   |            | The id of the input (range)                                                                                                            |\n| name           | string   |            | The input's name, to identify the input in the data submitted with the form's data                                                     |\n| min            | number   | `0`        | The minimum permitted value                                                                                                            |\n| max            | number   | `100`      | The maximum permitted value                                                                                                            |\n| step           | number   | `1`        | The stepping interval, used both for user interface and validation purposes                                                            |\n| onChange       | function | `() =\u003e {}` | The callback action to be performed when the value changes. It returns the current value.                                              |\n| value          | number   |            | The input's current value                                                                                                              |\n| defaultValue   | number   | `0`        | The input's initial value                                                                                                              |\n| ariaLabel      | string   |            | The accesibility aria-label property of the input                                                                                      |\n| ariaLabelledby | string   |            | The accesibility aria-labelledby property of the input                                                                                 |\n| disabled       | boolean  | `false`    | A Boolean attribute which is present if the input should be disabled                                                                   |\n| required       | bollean  | `false`    | A Boolean which, if true, indicates that the input must have a value before the form can be submitted                                  |\n| tabIndex       | number   |            | A numeric value providing guidance to the user agent as to the order in which controls receive focus when the user presses the Tab key |\n\n## Contributing\n\nFeel free to submit issues and enhancement requests.\n\nPlease refer to each project's style guidelines and guidelines for submitting patches and additions. In general, we follow the \"fork-and-pull\" Git workflow.\n\n1.  **Fork** the repo on GitHub\n2.  **Clone** the project to your own machine\n3.  **Commit** changes to your own branch\n4.  **Push** your work back up to your fork\n5.  Submit a **Pull request** so that we can review your changes\n\nNOTE: Be sure to merge the latest from \"upstream\" before making a pull request!\n\n## Future actions\n\n- Typescript component\n- Write tests for the component\n- Personalization (color and size)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolonio%2Freact-component-range","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbolonio%2Freact-component-range","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolonio%2Freact-component-range/lists"}