Star
English
Русский

Air Datepicker
v3.5.0

Lightweight, fast, customizable datepicker written in pure JavaScript without any dependencies

Air Datepicker - is a modern JavaScript calendar written on ES6 with the use of CSS native variables. It weights only ~ 13kb (minified + gzip). It works in every modern browser which has support of CSS native variables. It's easy to customize, supports keyboard navigation, has big amount of options and convenient API.

Because of Air Datepicker written in pure JavaScript it can be integrated in any modern framework - whether it's Angular or React.

Installation

npm i air-datepicker -S

Usage

You can initialize the calendar both on a text field and on a block or inline element

import AirDatepicker from 'air-datepicker';
import 'air-datepicker/air-datepicker.css';

new AirDatepicker('#my-element'[, options])