vanillajs-datepicker
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/vanillajs-datepicker package

1.3.4 • Public • Published

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 support for IE and Edge Legacy (aka non-Chromium Edge)
    ** If you need to support Edge Legacy, Web Components polyfill will allow this library to run on it.
  • Lightweight (well, relatively…) — 35kB (minified, uncompressed, 11kB when gzipped)

Demo

Live Online Demo

Documentation

Online Docs

License

Package Sidebar

Install

npm i vanillajs-datepicker

Weekly Downloads

20,352

Version

1.3.4

License

MIT

Unpacked Size

1.63 MB

Total Files

289

Last publish

Collaborators

  • mymth