{"id":4104,"url":"https://github.com/silentcloud/react-native-page-control","last_synced_at":"2026-01-22T10:39:19.942Z","repository":{"id":33714751,"uuid":"37368359","full_name":"silentcloud/react-native-page-control","owner":"silentcloud","description":"Page Control for React Native, like iOS UIPageControl, APIs are same as UIPageControl","archived":false,"fork":false,"pushed_at":"2020-03-11T03:02:59.000Z","size":38,"stargazers_count":170,"open_issues_count":2,"forks_count":30,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-22T09:24:33.233Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/silentcloud.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":"2015-06-13T11:03:00.000Z","updated_at":"2024-03-04T11:02:53.000Z","dependencies_parsed_at":"2022-07-08T00:09:08.527Z","dependency_job_id":null,"html_url":"https://github.com/silentcloud/react-native-page-control","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/silentcloud/react-native-page-control","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentcloud%2Freact-native-page-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentcloud%2Freact-native-page-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentcloud%2Freact-native-page-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentcloud%2Freact-native-page-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silentcloud","download_url":"https://codeload.github.com/silentcloud/react-native-page-control/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentcloud%2Freact-native-page-control/sbom","scorecard":{"id":823603,"data":{"date":"2025-08-11","repo":{"name":"github.com/silentcloud/react-native-page-control","commit":"48fe527bcd2d0c297c556a5bd2b4c5443cddf20b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 5/21 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T16:10:49.539Z","repository_id":33714751,"created_at":"2025-08-23T16:10:49.539Z","updated_at":"2025-08-23T16:10:49.539Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28661875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":[],"created_at":"2024-01-05T20:17:01.161Z","updated_at":"2026-01-22T10:39:19.921Z","avatar_url":"https://github.com/silentcloud.png","language":"JavaScript","funding_links":[],"categories":["Components","Others","JavaScript"],"sub_categories":["UI"],"readme":"# react-native-page-control\n\nPage Control for React Native, like iOS UIPageControl, APIs are same as UIPageControl\n\n## Installation\n\n```bash\n$ npm install react-native-page-control --save\n```\n\n## Demo\n\n![page control demo](http://silentcloud.github.io/upload/pagecontrol.gif)\n\n## Example\n\n```jsx\nimport PageControl from 'react-native-page-control';\n\n\u003cPageControl\n  style={{position:'absolute', left:0, right:0, bottom:10}}\n  numberOfPages={3}\n  currentPage={1}\n  hidesForSinglePage\n  pageIndicatorTintColor='gray'\n  currentPageIndicatorTintColor='white'\n  indicatorStyle={{borderRadius: 5}}\n  currentIndicatorStyle={{borderRadius: 5}}\n  indicatorSize={{width:8, height:8}}\n  onPageIndicatorPress={this.onItemTap}\n/\u003e\n```\n\n## API (props)\n\n| Prop | Required | Default  | Type | Description |\n| :------------ |:---:|:---------------:| :---------------:| :-----|\n| numberOfPages | YES | `0` | `number` | The number of pages the receiver shows (as dots) |\n| currentPage | NO | `0` | `number` |The current page, shown by the receiver as a white dot |\n| hidesForSinglePage | NO | `false` | `bool` | A Boolean value that controls whether the page control is hidden when there is only one page |\n| pageIndicatorTintColor | NO | `gray` | `string` | The tint color to be used for the page indicator. |\n| currentPageIndicatorTintColor | NO |`white` | `string`  | The tint color to be used for the current page indicator. |\n| indicatorStyle | NO | `{}` | `object` | style for the page indicator |\n| currentIndicatorStyle | NO |`{}` | `object`  | style for the current page indicator. |\n| onPageIndicatorPress | NO | function(index){} | `func`  | page indicator press hook function. `param: index` current press indicator index|\n\n## Development\n\n  ```bash\n  $ yarn\n  $ npm run init\n  $ npm run start\n  $ react-native run-ios\n  ```  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilentcloud%2Freact-native-page-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilentcloud%2Freact-native-page-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilentcloud%2Freact-native-page-control/lists"}