Cally

Small, feature-rich calendar components

README

Cally

Small, feature-rich of calendar components
- Small bundle size - less than 9kb min/gzip
- Full feature set - single dates, ranges, display multiple months
- HTML-friendly - easy to author, framework-independent
- Minimal dependencies - just one
- Accessible - keyboard and screen reader
- Localizable - Intl.DateTimeFormat, CSS logical properties, RTL support
- Themeable - CSS parts and custom properties to offer flexibility and power
- Composable - impose no DOM specific structure, play well with others

Installation

  1. ```bash
  2. npm install cally
  3. ```

Usage

Via module

  1. ```js
  2. import "cally";
  3. ```

Via CDN

  1. ```html
  2. <script type="module" src="https://unpkg.com/cally"></script>
  3. ```

Using the components

  1. ```html
  2. <calendar-range months="2">
  3.   <calendar-month></calendar-month>
  4.   <calendar-month offset="1"></calendar-month>
  5. </calendar-range>
  6. ```

Docs

For full documentation, visit: https://wicky.nillia.ms/cally/

License

MIT