{"id":31940369,"url":"https://github.com/rnwonder/solid-date-picker","last_synced_at":"2025-10-14T08:53:44.505Z","repository":{"id":167581029,"uuid":"637096456","full_name":"rnwonder/solid-date-picker","owner":"rnwonder","description":"A simple and reusable Datepicker component for SolidJS","archived":false,"fork":false,"pushed_at":"2025-08-16T09:26:14.000Z","size":1022,"stargazers_count":71,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-03T11:50:16.177Z","etag":null,"topics":["collaborate","ghdesktop","github","jetbrains"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@rnwonder/solid-date-picker","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/rnwonder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":["rnwonder"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"rnwonderw","thanks_dev":null,"custom":null}},"created_at":"2023-05-06T13:50:39.000Z","updated_at":"2025-09-05T03:40:13.000Z","dependencies_parsed_at":"2024-01-31T17:14:45.733Z","dependency_job_id":"acd588f2-d52e-422d-b052-f769ba4a3152","html_url":"https://github.com/rnwonder/solid-date-picker","commit_stats":null,"previous_names":["rnwonder/solid-date-picker"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/rnwonder/solid-date-picker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnwonder%2Fsolid-date-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnwonder%2Fsolid-date-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnwonder%2Fsolid-date-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnwonder%2Fsolid-date-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnwonder","download_url":"https://codeload.github.com/rnwonder/solid-date-picker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnwonder%2Fsolid-date-picker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018312,"owners_count":26086348,"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-10-14T02:00:06.444Z","response_time":60,"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":["collaborate","ghdesktop","github","jetbrains"],"created_at":"2025-10-14T08:53:03.458Z","updated_at":"2025-10-14T08:53:44.500Z","avatar_url":"https://github.com/rnwonder.png","language":"TypeScript","readme":"# @rnwonder/solid-date-picker\n\nA simple and reusable Datepicker component for SolidJS ([Demo](https://stackblitz.com/edit/solidjs-templates-dof6jl?file=src%2FApp.tsx))\n\n[Documentation](https://soliddatepicker.netlify.app/)\n\n![Screenshot 2023-05-20 084944.jpg](https://res.cloudinary.com/dfbebf7x0/image/upload/v1706819632/Screenshot_2024-02-01_212902_un7lqa.jpg)\n![Screenshot 2023-05-20 084945.jpg](https://res.cloudinary.com/dfbebf7x0/image/upload/v1706819632/Screenshot_2024-02-01_213012_ay4sa9.jpg)\n![Screenshot 2023-05-20 084946.jpg](https://res.cloudinary.com/dfbebf7x0/image/upload/v1706819632/Screenshot_2024-02-01_213053_q1qbdl.jpg)\n![Screenshot 2023-05-20 084946.jpg](https://res.cloudinary.com/dfbebf7x0/image/upload/v1706819632/Screenshot_2024-02-01_213124_pz8t1p.jpg)\n\n## Installation\n\n```bash\nnpm i @rnwonder/solid-date-picker\n```\n\n```bash\nyarn add @rnwonder/solid-date-picker\n```\n\n```bash\npnpm add @rnwonder/solid-date-picker\n```\n\nThis package depends on `solid-js` so you need to have it installed\n\n## Usage\n\n```tsx\nimport '@rnwonder/solid-date-picker/dist/style.css'\nimport DatePicker from \"@rnwonder/solid-date-picker\";\n\nconst App = () =\u003e {\n  return (\n    \u003cDatePicker\n      onChange={(data) =\u003e {\n        if (data.type === \"range\") {\n          console.log(data.startDate, data.endDate);\n        }\n        if (data.type === \"single\") {\n          console.log(data.selectedDate);\n        }\n        if (data.type === \"multiple\") {\n          console.log(data.multipleDates);\n        }\n      }}\n    /\u003e\n  );\n};\n```\n\nFor Solid Start, you want to use the `DatePicker` component as a client-side component. You can do this by using the `unstable_clientOnly` from `solid-start`.\n\n```tsx\nimport { clientOnly } from \"@solidjs/start\";\nconst DatePicker = clientOnly(() =\u003e import(\"@rnwonder/solid-date-picker\"));\n```\n\nAfter importing the `DatePicker` component, you can use it the same way as above.\n\n### Styling With Props, Classes, or Attributes\n\n- You can style the datepicker using class props, color props, default css class names or data attributes.\n- Check out the [documentation](https://soliddatepicker.netlify.app/docs/styling/) for more details\n\n### Themes\n- We have a growing list of themes you can use. Please check them out [here](https://soliddatepicker.netlify.app/docs/themes/)\n\n### Other Datepicker Props\n- We have some other props that can be useful when working with the datepicker. Please check them out [here](https://soliddatepicker.netlify.app/docs/other-props/)\n\n### Formatting\n- Formatting the datepicker input label is done with the `formatInputLabel`, `formatInputLabelRangeStart`, `formatInputLabelRangeEnd`, `localOptions` and `locale` props \n- Check out the [documentation](https://soliddatepicker.netlify.app/docs/formatting/) for more details\n\n### Utility Functions\n- We have some utility functions that can be useful when working with the datepicker. Please check them out [here](https://soliddatepicker.netlify.app/docs/helpers-utilities/)\n\n### Other Components\n- We have some other components that you may find useful. Please check them out [here](https://soliddatepicker.netlify.app/docs/popover/)\n\n### Time Picker\n- This is in beta and can be used like this\n\n```tsx\nimport '@rnwonder/solid-date-picker/dist/style.css'\nimport TimePicker from \"@rnwonder/solid-date-picker/timePicker\";\n\nconst App = () =\u003e {\n  return \u003cTimePicker /\u003e\n};\n```\n\n### Road Map\n- Time Picker (In progress)\n- More themes\n- More utility functions\n- Add more tests\n\n### Contributing\n- Send a message to the author on [X](https://twitter.com/Rnwonder101) if you have any questions or suggestions. Don't forget to follow me on twitter.\n- Feel free to open an issue [here](https://github.com/rnwonder/solid-date-picker/issues) if you run into any problem while using this library.\n- You can also contribute to this project [here](https://github.com/rnwonder/solid-date-picker/pulls).\n\n\u003ca href=\"https://www.buymeacoffee.com/rnwonderw\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" height=\"40px\" width=\"170px\"\u003e\u003c/a\u003e\n","funding_links":["https://github.com/sponsors/rnwonder","https://buymeacoffee.com/rnwonderw","https://www.buymeacoffee.com/rnwonderw"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnwonder%2Fsolid-date-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnwonder%2Fsolid-date-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnwonder%2Fsolid-date-picker/lists"}