Skip to content

uche789/calendar-bits

Repository files navigation

CalendarBits

CalendarBits is a lightweight library for building calendar or date picker UI without the tedious groundwork.

Demo

Installation

  • Via the CDN: <script src="https://unpkg.com/calendar-bits"></script>

  • Npm package:

    #npm
    npm i calendar-bits
    
    #yarn
    yarn add calendar-bits

Usage

calendar.init({
    dateValue: new Date(), // Date object, number or YYYY-MM-DD string
    dateChanged: () => {}
});

Documentation

See the docs for detailed information.

License

MIT