TypeScript CSS JavaScript


flatpickr - javascript datetime picker

Build Status

Coverage npm version Bower version CDNJS License

blue green confetti red default dark


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+

Install & Use

Demos and documentation: https://chmln.github.io/flatpickr

See also:

Supporting flatpickr

Special thanks to support by:

  • BrowserStack for providing indispensable testing utilities