dorkhub

cally

Small, feature-rich calendar components

WickyNilliams
TypeScript1.6k32 forksMITupdated 3 weeks ago
visit the demogit clone https://github.com/WickyNilliams/cally.gitWickyNilliams/cally

Cally

Small, feature-rich calendar components

  • Small bundle size - less than 9KB min/gzip
  • Full feature set - single dates, multiple 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

more like this

ForwardWidgets

Widgets for Douban and Trakt watchlists plus personalized recommendations, live TV streaming including PlutoTV, Yatu ra…

JavaScript247

journee-diary

A lightweight, simplified, RedNotebook-inspired journal/diary app. Built with Electron. Makes dated text files.

JavaScript54

life-calendar

View and plan your life in an online calendar by visually by seeing it from days to decades

JavaScript59

search

search projects, people, and tags