{"id":4162,"url":"https://github.com/vlad-doru/react-native-calendar-datepicker","last_synced_at":"2026-01-26T06:09:10.013Z","repository":{"id":57335927,"uuid":"62717086","full_name":"vlad-doru/react-native-calendar-datepicker","owner":"vlad-doru","description":"React-Native cross-platform, calendar component.","archived":false,"fork":false,"pushed_at":"2018-01-31T12:49:38.000Z","size":2561,"stargazers_count":85,"open_issues_count":10,"forks_count":36,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-04T00:49:42.373Z","etag":null,"topics":["react-component","react-native","react-native-component","react-native-ui"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vlad-doru.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-07-06T11:47:51.000Z","updated_at":"2024-05-16T03:18:35.000Z","dependencies_parsed_at":"2022-09-15T15:10:34.849Z","dependency_job_id":null,"html_url":"https://github.com/vlad-doru/react-native-calendar-datepicker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vlad-doru/react-native-calendar-datepicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlad-doru%2Freact-native-calendar-datepicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlad-doru%2Freact-native-calendar-datepicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlad-doru%2Freact-native-calendar-datepicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlad-doru%2Freact-native-calendar-datepicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlad-doru","download_url":"https://codeload.github.com/vlad-doru/react-native-calendar-datepicker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlad-doru%2Freact-native-calendar-datepicker/sbom","scorecard":{"id":925116,"data":{"date":"2025-08-11","repo":{"name":"github.com/vlad-doru/react-native-calendar-datepicker","commit":"86b72a2a6365c246f104b5d7e407a00053df8ec8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"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":"Code-Review","score":2,"reason":"Found 5/19 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":"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":"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":"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":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: demo/android/gradle/wrapper/gradle-wrapper.jar:1"],"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":"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":"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":"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: Apache License 2.0: 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 17 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"}},{"name":"Vulnerabilities","score":0,"reason":"68 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-j4mr-9xw3-c9jx","Warn: Project is vulnerable to: GHSA-7p89-p6hx-q4fw","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-832h-xg76-4gv6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9qj9-36jm-prpv","Warn: Project is vulnerable to: GHSA-44pw-h2cw-w3vq","Warn: Project is vulnerable to: GHSA-jp4x-w63m-7wgm","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-4hpf-3wq7-5rpr","Warn: Project is vulnerable to: GHSA-f522-ffg8-j8r6","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f9cm-qmx5-m98h","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-qx2f-477c-35rq","Warn: Project is vulnerable to: GHSA-wrvr-8mpx-r7pp","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-446m-mv8f-q348","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-gwg9-rgvj-4h5j","Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f","Warn: Project is vulnerable to: GHSA-7mc5-chhp-fmc3","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-4cpg-3vgw-4877","Warn: Project is vulnerable to: GHSA-gqgv-6jq5-jjj9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-gff7-g5r8-mg8m","Warn: Project is vulnerable to: GHSA-2m39-62fm-q8r3","Warn: Project is vulnerable to: GHSA-mf6x-7mm4-x2g7","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-g7q5-pjjr-gqvp","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-xc7v-wxcw-j472","Warn: Project is vulnerable to: GHSA-662x-fhqg-9p8v","Warn: Project is vulnerable to: GHSA-394c-5j6w-4xmx","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-5v72-xg48-5rpm","Warn: Project is vulnerable to: GHSA-h6q6-9hqw-rwfv","Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q","Warn: Project is vulnerable to: GHSA-crh6-fp67-6883","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-25T10:48:46.346Z","repository_id":57335927,"created_at":"2025-08-25T10:48:46.346Z","updated_at":"2025-08-25T10:48:46.346Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28768075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["react-component","react-native","react-native-component","react-native-ui"],"created_at":"2024-01-05T20:17:03.008Z","updated_at":"2026-01-26T06:09:09.996Z","avatar_url":"https://github.com/vlad-doru.png","language":"JavaScript","funding_links":[],"categories":["Components","Others"],"sub_categories":["UI"],"readme":"# React Native Calendar Datepicker\n\n## Description\n\nThis project aims at providing developers with a *cross-platform, highly customizable*, **calendar date picker** component for React Native.\n\nHere is a quick example of how it works, with custom appearance:\n\n![alt text](https://github.com/vlad-doru/react-native-calendar-datepicker/blob/master/demo.gif?raw=true \"Custom Demo Example\")\n\n## Installation\n\n`npm install --save react-native-calendar-datepicker`\n\n__Minimum react-native: \"^0.33.0\"__\n\n## Basic Usage\n\nGetting started with this component is very very easy. However, the initial appearance is minimalistic, but the library offers the developer the ability to easily customize it.\n\nIn its most basic form, the usage of this component looks like this:\n\n```javascript\nimport Calendar from 'react-native-calendar-datepicker';\nimport Moment from 'moment';\n\n...\n\n  \u003cCalendar\n    onChange={(date) =\u003e this.setState({date})}\n    selected={this.state.date}\n    // We use Moment.js to give the minimum and maximum dates.\n    minDate={Moment().startOf('day')}\n    maxDate={Moment().add(10, 'years').startOf('day')}\n    /\u003e\n```\n\n## API Reference\n\n**Note**: Each date provided will be a Moment.js object.\n\n### Basic properties\n\n| Property | Type | Explanation\n| --- | --- | ---\n| *selected* | Moment | The currently selected date\n| *onChange* | (date: Moment) =\u003e void | Callback for selecting a date\n| *minDate* | Moment | **[Mandatory]** Minimum selectable date\n| *maxDate* | Moment | **[Mandatory]** Maximum selectable date\n| *startStage* | \"day\"/\"month\"/\"year\" | **[Default: \"day\"]** Whether you would like to select the day, month or year first.\n| *finalStage* | \"day\"/\"month\"/\"year\" | **[Default: \"day\"]** The last level of selection you want.\n| *slideThreshold* | number | **[Default: min([width / 3, 250])]** The number of pixels after which the slide event will be triggered.\n| *showArrows* | boolean | **[Default: false]** Whether you would like to show arrow buttons for moving between months.\n\n### Locale specific calendar\n\nIn order to change the locale of the calendar, just change the locale of Moment.js. Please make sure to do so before using the calendar component.\n\n### Styling properties\n\nIn its initial form the component has a minimalistic appearance, shown in the picture below, but it can easily be customized.\n\n\u003cimg src=\"https://github.com/vlad-doru/react-native-calendar-datepicker/blob/master/barebones.png?raw=true\" width=\"200\"/\u003e\n\nStyled example with arrows:\n\n\u003cimg src=\"https://github.com/jasongaare/react-native-calendar-datepicker/blob/SelectionArrows/styled-with-arrows.png?raw=true\" width=\"200\"/\u003e\n\nBelow is the list of properties that can be used for styling. For a concrete example, check out the [demo app link](https://github.com/vlad-doru/react-native-calendar-datepicker/blob/master/demo/index.ios.js)\n\n| Property | Type | Explanation\n| --- | --- | ---\n| style | View.propTypes.style | View wrapper of the calendar\n| barView | View.propTypes.style | Styling the view wrapper for the bar at the top of the component\n| barText | Text.propTypes.style | Styling the text in the top bar\n| stageView | View.propTypes.style | Styling the view wrapper of the current stage\n| dayHeaderView | View.propTypes.style | Styling the view wrapper of day names\n| dayHeaderText | Text.propTypes.style | Styling the text of day names\n| dayRowView | View.propTypes.style | Styling each  row view of days\n| dayView | View.propTypes.style | View wrapper of each day\n| dayText | Text.propTypes.style | Styling the text of each day number\n| dayTodayText | Text.propTypes.style | Highlighting today in the calendar\n| daySelectedText | Text.propTypes.style | Highlighting the selected day in the calendar\n| dayDisabledText | Text.propTypes.style | Styling unavailable dates in the calendar\n| monthText | Text.propTypes.style | Styling the text for each month in the month selector\n| monthDisabledText | Text.propTypes.style | Styling unavailable months\n| monthSelectedText | Text.propTypes.style | Styling selected month\n| yearMinTintColor | string | Styling left side of year slider\n| yearMaxTintColor | string | Styling right side of year slider\n| yearSlider | Slider.propTypes.style | Styling the year slider\n| yearText | Text.propTypes.style | Styling the year text\n\n## TODO\n\n- [ ] Add unit tests\n- [ ] Add integration test\n- [ ] Set up continous integration\n- [ ] Hook to codeclimate.com\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Credits\n\nMain Developer: [Vlad-Doru Ion](http://github.com/vlad-doru)\n\nPull requests by: \n* [Jason Gaare](http://github.com/jasongaare)\n* [Igor Kurr](http://github.com/igorrKurr) \n\n## License\n\nApache License 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlad-doru%2Freact-native-calendar-datepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlad-doru%2Freact-native-calendar-datepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlad-doru%2Freact-native-calendar-datepicker/lists"}