@bartoszzborowski25/vanillajs-datepicker

A vanilla JavaScript remake of bootstrap-datepicker for Bulma and other CSS frameworks

Usage no npm install needed!

<script type="module">
  import bartoszzborowski25VanillajsDatepicker from 'https://cdn.skypack.dev/@bartoszzborowski25/vanillajs-datepicker';
</script>

README

Vanilla JS Datepicker

A vanilla JavaScript remake of bootstrap-datepicker for Bulma and other CSS frameworks

This package is written from scratch as ECMAScript modules/Sass stylesheets to reproduce similar usability to bootstrap-datepicker.
It can work either standalone or with CSS framework (e.g. Bootstrap, Foundation), but works best with Bulma as it's developed primarily for Bulma.

The package also includes pre-built js/css files for those who like to use it directly on browser.

Features

  • Date picker (input-dropdown, inline), date range picker
  • Keyboard operation support (navigation by arrow keys, editing on input field)
  • i18n support (locales, CSS-based text direction detection)
  • Easily customizable to adapt stylesheet for various CSS frameworks
  • Dependency free
  • Made for modern browsers — no IE support
  • Lightweight (well, relatively…) — 33kB (minified, uncompressed)

Demo

Live Online Demo

Documentation

Online Docs

License