{"id":45890644,"url":"https://github.com/sahajre/react-typeform-rating","last_synced_at":"2026-02-27T17:59:30.652Z","repository":{"id":57346822,"uuid":"102189895","full_name":"sahajre/react-typeform-rating","owner":"sahajre","description":"Typeform like rating component :star: :star: :star: :star: :star:","archived":false,"fork":false,"pushed_at":"2019-01-05T07:34:06.000Z","size":749,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T18:44:30.077Z","etag":null,"topics":["rating","react","survey","typeform"],"latest_commit_sha":null,"homepage":"","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/sahajre.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-09-02T10:44:55.000Z","updated_at":"2019-01-05T07:34:08.000Z","dependencies_parsed_at":"2022-08-25T19:41:42.590Z","dependency_job_id":null,"html_url":"https://github.com/sahajre/react-typeform-rating","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sahajre/react-typeform-rating","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahajre%2Freact-typeform-rating","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahajre%2Freact-typeform-rating/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahajre%2Freact-typeform-rating/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahajre%2Freact-typeform-rating/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sahajre","download_url":"https://codeload.github.com/sahajre/react-typeform-rating/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahajre%2Freact-typeform-rating/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29907340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T17:28:36.873Z","status":"ssl_error","status_checked_at":"2026-02-27T17:28:20.970Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["rating","react","survey","typeform"],"created_at":"2026-02-27T17:59:29.554Z","updated_at":"2026-02-27T17:59:30.642Z","avatar_url":"https://github.com/sahajre.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-typeform-rating\nTypeform like rating component (unofficial).\n\n## Try demo\n\n1. Clone repo\n\n````\ngit clone https://github.com/sahajRe/react-typeform-rating.git\n````\n\n2. Install dependencies\n\n`npm install` or `yarn install`\n\n3. Start development server\n\n`npm start` or `yarn start`\n\nRuns the demo app in development mode.\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n## How to install `react-typeform-rating` npm package in your project?\n\n`npm install react-typeform-rating` or `yarn add react-typeform-rating`\n\nThen, include `demo/App.css` in your App:\n\n`import \u003cpath-to-app-css\u003e/App.css`\n\nIf you are using font awesome, like I do in the demo, you can copy related files `public/css/fontawesome.css` and `public/social/` and include the CSS path in 'public/index.html'. Alternatively, you may use Bootstrap `glyphycon`.\n\nUsage:\n````\n\u003cTypeformRating\n    name=\"name1\"   // mandatory, string\n    starCount={5}  // mandatory, number of starts, number, default 5\n    value={0}      // initial value for stars, number, default 0\n    onChange={this.onChange}  // callback to get rating object {name: 'name1', rating: \u003cuser-selected-rating\u003e }\n    halfStarSelection={false} // to allow half star selection, boolean, default false\n    keyPressed={this.state[\"name1\"].key} // keyCode of key pressed, you can use any key binding library, the demo uses react-keydown\n    emptyStar=\"fa fa-3x fa-star-o\" // CSS class for showing empty stars\n    selectedStar=\"fa fa-3x fa-star\" // CSS class for showing filled/selected star\n/\u003e\n````\n\n## Contributions\n\nSuggestions, issues, feature and pull requests are most welcomed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahajre%2Freact-typeform-rating","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsahajre%2Freact-typeform-rating","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahajre%2Freact-typeform-rating/lists"}