4 kB date picker & 5 kB range picker
date and range picker that work with or without build tools and with or without frameworks
for more detailed examples how to use it with frameworks, see examples.
don't be satisfied with moment.js
+ jquery
combo to have a simple date or range picker
shout-outs to svelte
tested on mostly modern browsers
- Chrome (desktop and mobile)
- Safari (desktop and mobile)
- Firefox
- Edge 15+
- visibility:
hidden
won't work as CSS variable
- visibility:
no IE because it lacks CSS Variables support