
About Flatpickr
Flatpickr is a lightweight date and time picker for JavaScript. It has a minimal interface, many themes and no dependencies on other libraries.
What it does
You attach the picker to an input field and choose a date or time. It has an event system and exposed APIs so you can react to changes. Formatting tokens let you show dates in your own format, and there is localization and plugin support for common needs.
Key features
- Date and time selection in one picker
- Themes for different visual styles
- Formatting tokens for the displayed date
- Events and hooks for custom behavior
- Localization and plugin support
Who it's for
Developers adding date fields to forms and booking pages who want a small library with no framework requirement.
Pricing and good to know
Flatpickr is open source under the MIT license and free to use. The docs include a section on mobile support, so check it if your users mostly use phones. It is a JavaScript library, so you style and place it with your own CSS.
Highlights
- Date and time selection in one picker
- Themes for different visual styles
- Formatting tokens for the display format
- Events and hooks for custom behavior
- Localization and plugin support












