{"id":19311988,"url":"https://github.com/weblineindia/reactjs-custom-datepicker","last_synced_at":"2025-08-11T23:05:04.586Z","repository":{"id":57347620,"uuid":"282222282","full_name":"weblineindia/ReactJS-Custom-Datepicker","owner":"weblineindia","description":"ReactJS based Custom Datepicker component to select date.","archived":false,"fork":false,"pushed_at":"2024-04-29T05:22:11.000Z","size":866,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-21T03:06:36.991Z","etag":null,"topics":["calender-component","datepicker","datepicker-component","datepicker-dialog","datepicker-reactjs","picker","react-calendar","react-components","react-datepicker","react-demo","react-libraries","reactjs","reactjs-calendar","reactjs-components","reactjs-datepicker","reactjs-datepicker-component","reactjs-demo","reactjs-library","reusable-components"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/software-development-resources.html","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/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-07-24T13:07:03.000Z","updated_at":"2024-07-21T21:21:28.000Z","dependencies_parsed_at":"2024-04-29T06:40:22.999Z","dependency_job_id":null,"html_url":"https://github.com/weblineindia/ReactJS-Custom-Datepicker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weblineindia/ReactJS-Custom-Datepicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Custom-Datepicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Custom-Datepicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Custom-Datepicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Custom-Datepicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/ReactJS-Custom-Datepicker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Custom-Datepicker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269970120,"owners_count":24505466,"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-11T02:00:10.019Z","response_time":75,"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":["calender-component","datepicker","datepicker-component","datepicker-dialog","datepicker-reactjs","picker","react-calendar","react-components","react-datepicker","react-demo","react-libraries","reactjs","reactjs-calendar","reactjs-components","reactjs-datepicker","reactjs-datepicker-component","reactjs-demo","reactjs-library","reusable-components"],"created_at":"2024-11-10T00:32:00.769Z","updated_at":"2025-08-11T23:05:04.559Z","avatar_url":"https://github.com/weblineindia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactJS - Custom Datepicker\n\nReactJS based Custom Datepicker component to select date.\n\n## Table of contents\n\n- [Browser Support](#browser-support)\n- [Demo](#demo)\n- [Getting started](#getting-started)\n- [Usage](#usage)\n- [Available Props](#available-props)\n- [Methods](#methods)\n- [Want to Contribute?](#want-to-contribute)\n- [Collection of Other Components](#collection-of-components)\n- [Changelog](#changelog)\n- [Credits](#credits)\n- [License](#license)\n- [Keywords](#Keywords)\n\n## Browser Support\n\n![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |\n--- | --- | --- | --- | --- |\n83.0 ✔ | 77.0  ✔ | 13.1.1 ✔ | 83.0 ✔ | 11.9 ✔ |\n\n## Demo\n\n[![](datepicker.gif)](https://github.com/weblineindia/ReactJS-Custom-Datepicker/datepicker.gif)\n\n************************************************************************************\n[![](darktheme.gif)](https://github.com/weblineindia/ReactJS-Custom-Datepicker/darktheme.gif)\n\n## Getting started\n\nInstall the npm package:\n\n``` bash\nnpm install react-weblineindia-date-picker \n# OR \nyarn add react-weblineindia-date-picker\n```\n\n## Usage\n\nUse the `\u003creact-weblineindia-date-picker\u003e` component:\n``` js\nimport React ,{ Component } from 'react';\nimport Calendar from 'react-weblineindia-date-picker'\n\nclass Test extends Component {\n  constructor(props) {\n    super(props);\n    this.state = {\n      date1: null,\n    };\n  }\n\n  render() {\n    return (\n      \u003cdiv\u003e\n        \u003cCalendar id=\"basic\" value={this.state.date1} onChange={(e) =\u003e this.setState({ date1: e.value })} /\u003e\n      \u003c/div\u003e\n    );\n  }\n}\n\nexport default Test;\n```\n## Available Props\n| Prop | Type | default | Description |\n| --- | --- | --- | --- |\n| value | any | null  | Value of the component.  |\n| selectionMode | string | single | Defines the quantity of the selection, valid values are \"single\", \"multiple\" and \"range\". |\n| placeholder | String | 'Date picker'  | Placeholder text for the date picker  |\n| locale | string | en  | Localization for different languages and formats is defined by binding the locale.  |\n| dateFormat | string | \tmm/dd/yy  |  EFormat of the date. |\n| showIcon   | boolean | false  |  When enabled, displays a button with icon next to input.|\n| icon | string | pi pi-calendar\t | Icon of the calendar button. |\n| monthNavigator | boolean | false  | Whether the month should be rendered as a dropdown instead of text. |\n| yearNavigator | boolean | false  | Whether the year should be rendered as a dropdown instead of text. |\n| minDate | Date | null | The minimum selectable date. |\n| maxDate | Date | null | The maximum selectable date. |\n| disabledDates | array | null | Array with dates to disable. |\n| disabledDays | array | null  | Array with disabled weekday numbers.|\n| inline | boolean | false  | When enabled, displays the calendar as inline instead of an overlay. |\n| showOtherMonths | boolean | false  | Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the selectOtherMonths option. |\n| selectOtherMonths | boolean | Array with disabled weekday numbers.|Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true.| \n| numberOfMonths | number | 1| Number of months to display.|\n| view | string | date | Type of view to display, valid valids are \"date\" for datepicker and \"month\" for month picker.|\n| touchUI | boolean | false | When enabled, calendar overlay is displayed as optimized for touch devices.|\n| yearRange | string | 1960:2050 | The range of years displayed in the year drop-down in (nnnn:nnnn) format such as (2000:2020).|\n| panelClass | string | null | Style class of the datetimepicker panel.|\n| panelStyle | string | null | Inline style of the datetimepicker panel.|\n| maxDateCount | number | null | Maximum number of selectable dates in multiple mode.|\n| showOnFocus | boolean | true | When disabled, datepicker will not be visible with input focus.|\n| autoZIndex | boolean | true | Whether to automatically manage layering.|\n| baseZIndex | number | 0 | Base zIndex value to use in layering.|\n| showButtonBar | boolean | false | Whether to display today and clear buttons at the footer|\n| shortYearCutoff | string | +10 | The cutoff year for determining the century for a date.|\n| hideOnDateTimeSelect | boolean | false | Whether to hide the overlay on date selection when showTime is enabled.|\n| showWeek | boolean | false | When enabled, calendar will show week numbers.|\n| manualInput | boolean | false | Wheter to allow prevents entering the date manually via typing.|\n| ariaLabelledBy | string | null | Establishes relationships between the component and label(s) where its value should be one or more element IDs.|\n| appendTo | string | null | Id of the element or \"body\" for document where the overlay should be appended to.|\n| isDarkTheme | boolean | false | Change theme of the date picker.|\n\n-----\n\n### Methods\nName | Parameters | Description |\n--- | --- | --- |\n| date-select | value: Selected value\t | Callback to invoke when a date is selected.  |\n| show |  -\t |  Callback to invoke when datepicker panel is shown.  |\n| hide | -\t |  Callback to invoke when datepicker panel is hidden.  |\n| today-click | date: Today as a date instance\t |  Callback to invoke when today button is clicked.  |\n| clear-click | event: Click event\t |  Callback to invoke when clear button is clicked.  |\n| month-change | event.month: New month event.year: New year\t | Callback to invoke when a month is changed using the navigators.  |\n| year-change| event.month: New month event.year: New year\t |  Callback to invoke when a year is changed using the navigators.  |\n\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n-----\n\n## Collection of Components\n\nWe have built many other components and free resources for software development in various programming languages. Kindly click here to view our [Free Resources for Software Development](https://www.weblineindia.com/software-development-resources.html).\n\n------\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## Credits\n\nreact-weblineindia-date-picker is inspired by [primereact](https://primefaces.org/primereact/showcase/#/calendar).\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/weblineindia/ReactJS-Custom-Datepicker/blob/master/LICENSE\n\n## Keywords\n\nreact-weblineindia-datepicker, react-datepicker, reactjs-datepicker, react-calendar, date-picker, datepicker, react-datetime, datetime-picker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freactjs-custom-datepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Freactjs-custom-datepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freactjs-custom-datepicker/lists"}