Skip to content
项目

关于

小巧而功能丰富的日历组件

效率与自动化

这些数字如何统计

实测星标增长

24小时
0
7天
+2
15天
+5
1个月
+5

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…