Almost every large SPA or project involves date and time input. There are limited options, however, if you also prefer to keep your projects lean and consequently stay away from heavy frameworks such as jQuery, or even Bootstrap.
Appalled at the fact that I have to load 300kb of jquery and jquery UI or hook up bootstrap just to use a calendar, I created this [date][time]picker that's powerful, easy to use, and looks good out of the box.
Written in vanilla javascript, works with anything, anywhere.
IE9+, iOS Safari 6+, MS Edge, Chrome 8+, Firefox 6+
Demos and documentation: https://chmln.github.io/flatpickr
See also:
Support us with a monthly donation and help us continue our activities.
flatpickr will be developed indefinitely, until native date inputs are just as capable and aesthetic. It will be maintained regardless of any donations, unconditionally.
You are encouraged to use flatpickr for any commercial and personal purposes alike.
If you'd like to support the project anyways, the links are below.
Become a sponsor and get your logo on the README. [Become a sponsor]