{"id":15949292,"url":"https://github.com/viniarruda/react-month-range-picker","last_synced_at":"2026-03-01T16:33:47.625Z","repository":{"id":156751091,"uuid":"633088985","full_name":"viniarruda/react-month-range-picker","owner":"viniarruda","description":"React component that can select an range of months separated by year","archived":false,"fork":false,"pushed_at":"2024-02-09T16:27:22.000Z","size":1271,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-11T14:56:29.209Z","etag":null,"topics":["calendar","date-picker","date-range-picker","month-picker","react"],"latest_commit_sha":null,"homepage":"https://viniarruda-react-month-range-picker.vercel.app","language":"TypeScript","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/viniarruda.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-26T18:55:32.000Z","updated_at":"2025-07-17T11:35:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"e058b482-f003-4406-b43b-c25a059f6289","html_url":"https://github.com/viniarruda/react-month-range-picker","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/viniarruda/react-month-range-picker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniarruda%2Freact-month-range-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniarruda%2Freact-month-range-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniarruda%2Freact-month-range-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniarruda%2Freact-month-range-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viniarruda","download_url":"https://codeload.github.com/viniarruda/react-month-range-picker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniarruda%2Freact-month-range-picker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29974746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:18:32.386Z","status":"ssl_error","status_checked_at":"2026-03-01T16:18:04.258Z","response_time":124,"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":["calendar","date-picker","date-range-picker","month-picker","react"],"created_at":"2024-10-07T12:13:49.546Z","updated_at":"2026-03-01T16:33:47.609Z","avatar_url":"https://github.com/viniarruda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-month-range-picker\n\nReact component that can select an range of months separated by year\n\n# Install in your project\n\nYou can find more information in [npm](https://www.npmjs.com/package/@viniarruda/react-month-range-picker)\n\n```\nyarn add @viniarruda/react-month-range-picker\nor\nnpm i @viniarruda/react-month-range-picker\n```\n\nDemo [here](https://viniarruda-react-month-range-picker.vercel.app/?path=/story/forms-monthrangepicker--default)\n\n# Examples\n\n![default](https://github.com/viniarruda/react-month-range-picker/blob/main/assets/oneColumn.png?raw=true)\n\n![two columns](https://github.com/viniarruda/react-month-range-picker/blob/main/assets/twoColumns.png?raw=true)\n\n\n\n# Run\n\nTo run that demo on your own computer:\n\n```\nClone this repository\nyarn install\nyarn storybook\nVisit http://localhost:6006/\n```\n\n# Props\n\n| Props  | type | defaultValue | Info\n| ------------- | ------------- | ------------- | ------------- |\n| columns  | 1 or 2  | 1 | Columns to show  |\n| initialYear  | number  | 2020 | The first initialYear |\n| locale  | string  | `en-US` | ex: `en-US` |\n| onRangeSelect  | function  | required | Pass an function to get the RangeParams |\n| calendarClassname  | string  | optional | Pass an `className` to style calendar container |\n| headerClassname  | string  | optional | Pass an `className` to style calendar header |\n| monthClassname  | string  | optional | Pass an `className` to style month item |\n\n# Styling\n\nTo control the month styles, you can use `monthClassName=\"month\"` and this name will increment to variant month.\n\nSoo, you can control the styles using:\n\n`.month_start`\n`.month_selected`\n`.month_end`\n\n\n```typescript\n\n\nonRangeSelect: (params: RangeParams) =\u003e void\n\ntype RangeParams = {\n  startMonth: number\n  startYear: number\n  endMonth: number\n  endYear: number\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviniarruda%2Freact-month-range-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviniarruda%2Freact-month-range-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviniarruda%2Freact-month-range-picker/lists"}