- Notifications
You must be signed in to change notification settings - Fork2
A React library (including useDateInput/useDateRange hooks) to help compose a Date Picker/Calendar around your components
License
mark-tate/use-date-input
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This project is a React library to help compose your own date picker and calendar UI components.
From simple to advanced, you can build your own date picker component in minutes.
The key features of this projects
Lightweight- Optimized bundle sizeControl- built with React hooks and the reducer pattern, the API gives you full control of the component's stateThemeable- built as a naked UI component, use the simple theming API to styleDate Frameworks- can be used with the date framework of your choice
Either use the ready-made adapters (dayjs,date-fns,luxon,moment) or write your own adapterComposable- can be used with any UI Framework
Compose with your own UI components, to create date inputs, date dialogs or calendars with shortcut listsAccessible- designed and tested for A11y, with full keyboard and screen-reader supportLocalisation- customize region and labelsDocumentation- fully documented with editable examples
To get up and running quickly, refer to thegetting started guide.
For the full documentation, refer to thedocumentation.
This project was built to give something back to the OpenSource community.
Please raise a PR for this project or be inspired to create (or contribute) to another Open Source project.
Building this component took alot of effort, so to show your appreciation, please let me know how you are using it, where you
are using it and what themes you create.
All feedback appreciated, message me onLinked-In.
When I started out, I wanted to create the Downshift of DatePickers.
So a special mention to Kent, who inspired the journey.
Documentation site built withdocz
About
A React library (including useDateInput/useDateRange hooks) to help compose a Date Picker/Calendar around your components
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.