@antscorp/datepicker

1.0.1-beta.10 • 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

/@antscorp/datepicker/

    Package Sidebar

    Install

    npm i @antscorp/datepicker

    Homepage

    github.com/

    Weekly Downloads

    26

    Version

    1.0.1-beta.10

    License

    MIT

    Unpacked Size

    3.89 MB

    Total Files

    426

    Last publish

    Collaborators

    • hoangkhang887
    • cuongcn
    • ngocthangh
    • datle0497
    • vinlt.antsomi
    • khanhhv
    • sangndd-antsomi