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:
- React Component
- ember-flatpickr addon
- angularJS-flatpickr addon
- angular2+-flatpickr addon
- vue-flatpickr component
flatpickr will never change its license, pester users for donations, or engage in other user-hostile behavior.
Nevertheless, if you enjoyed working with this library or if its made your life easier, you can buy me a cup of coffee :)