Datepicker

Flatpickr, loaded only on pages that have a date field.

1 example

How to use it

Copy any example below and paste it in
Marker
data-datepicker on an input. The plugin manager downloads Flatpickr when it finds one.
Options
data-datepicker-mode="range", data-datepicker-time, data-datepicker-min, -max, -format.
Inside a dialog
The calendar is appended to the open modal or offcanvas, not to <body> — otherwise tabbing out of the field lands behind the dialog.

Single, range and with a time