GitHub
1.14k
Created 3 years ago, last commit a month ago
4 contributors
136 commits
Stars added on GitHub, month by month
N/A
N/A
N/A
N/A
12
1
2
3
4
5
6
7
8
9
10
11
2023
2024
Stars added on GitHub, per day, on average
Yesterday
=
Last week
+0.1
/day
Last month
+0.2
/day
npmPackage on NPM
cally
0.7.2
Monthly downloads on NPM
0
0
0
0
12
1
2
3
4
5
6
7
8
9
10
11
2023
2024
README

Cally

Small, feature-rich calendar components

  • Small bundle size - less than 8.5KB 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

npm install cally

Usage

Via module

import "cally";

Via CDN

<script type="module" src="https://unpkg.com/cally"></script>

Using the components

<calendar-range months="2">
  <calendar-month></calendar-month>
  <calendar-month offset="1"></calendar-month>
</calendar-range>

Docs

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

License

MIT