npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ilamy/calendar

v3.0.1

Published

A full-featured React calendar component library built with Shadcn-Ui, Tailwind CSS, and TypeScript.

Readme

ilamy Calendar

NPM Version License Build Status

A powerful, full-featured yet lightweight and highly pluggable React calendar component library built with TypeScript, Tailwind CSS 4, and shadcn/ui. The core is small — ~40 KB minified (≈13 KB gzipped) — with opt-in plugins for recurring events, agenda views, and more, so you only ship what you use. Built for high-performance scheduling with RFC 5545 recurring events, resource management, and drag-and-drop interactions.


Support

ilamy Calendar is free and open source. If you'd like to support its development:


Features

Core Views

  • Multiple Perspectives: Month, Week, Day, and Year views.
  • Fluid Navigation: Smooth transitions between dates and views.
  • Business Hours: Customizable working hours with support for split shifts.

Resource Management

  • Resource Timeline: Visualize and manage events across multiple resources (rooms, people, equipment).
  • Vertical & Horizontal Layouts: Flexible resource views to fit any application design.
  • Resource-Aware Validation: Ensure events are correctly assigned and don't overlap where prohibited.

Recurring Events (RFC 5545)

Opt-in via the recurrence plugin (plugins={[recurrencePlugin()]} from @ilamy/calendar/plugins/recurrence).

  • Full RRULE Support: Daily, Weekly, Monthly, Yearly patterns with complex frequencies.
  • Smart CRUD: Google Calendar-style operations—edit "this event", "this and following", or "all events".
  • Exclusion Dates: Robust handling of EXDATE and modified instances within a series.
  • iCalendar Export: Export events to .ics files with strict RFC 5545 compliance.

Plugin System

  • Opt-in capabilities: The core ships no plugins. Add behavior through the plugins prop, each from its own subpath: @ilamy/calendar/plugins/recurrence (RFC 5545 recurring events) and @ilamy/calendar/plugins/agenda (agenda list view).

Internationalization & Timezones

  • Timezones: Full timezone support via dayjs.tz with automatic DST handling.
  • Internationalization: Support for 100+ locales with configurable week start days.

Interactions

  • Drag & Drop: Move and resize events with precision using @dnd-kit.
  • Responsive: Adaptive layouts designed for desktop, tablet, and mobile.

Developer Experience

  • Type Safety: Written in TypeScript with comprehensive type definitions and IntelliSense support.
  • Reliability: 100% test coverage for all mission-critical date and recurrence logic.
  • Theming: Built on Tailwind CSS 4 variables for effortless branding and customization.
  • Modern Stack: Zero-config integration with React 19 and modern build tools.

Installation

Install the library and its peer dependencies using your preferred package manager:

# npm
npm install @ilamy/calendar dayjs

# bun
bun add @ilamy/calendar dayjs

# pnpm
pnpm add @ilamy/calendar dayjs

Note: This library requires React 19+ and Tailwind CSS 4+. Peers: dayjs, react, react-dom, tailwindcss (v4), tailwindcss-animate. dayjs is in the command above because the calendar's API uses dayjs objects and shares your app's instance/locale.


Quick Start

import { IlamyCalendar } from '@ilamy/calendar';

const MyApp = () => {
  const events = [
    {
      id: '1',
      title: 'Project Kickoff',
      start: '2026-05-01T10:00:00Z',
      end: '2026-05-01T11:30:00Z',
      color: 'blue'
    }
  ];

  return (
    <div style={{ height: '800px' }}>
      <IlamyCalendar 
        events={events}
        initialView="week"
        onEventClick={(event) => console.log('Clicked:', event)}
      />
    </div>
  );
};

Styling — bring your own design system

@ilamy/calendar ships no CSS. Components use the conventional shadcn/ui token classes (bg-background, text-muted-foreground, bg-primary, border-border, …), so your design system supplies the look. Point Tailwind at the package so it generates the utilities (Tailwind v4 ignores node_modules by default — adjust the relative depth to your stylesheet):

@source "../node_modules/@ilamy/calendar/dist";

If you already use shadcn, the tokens are defined and you're done. Otherwise, define the standard shadcn theme tokens (--background, --primary, --border, --ring, --card, …) so the calendar inherits your palette.


Plugins

The core ships no plugins. Add capabilities through the plugins prop, each imported from its own subpath:

import { IlamyCalendar } from '@ilamy/calendar';
import { recurrencePlugin } from '@ilamy/calendar/plugins/recurrence';
import { agendaPlugin } from '@ilamy/calendar/plugins/agenda';

<IlamyCalendar
  events={events}
  plugins={[recurrencePlugin(), agendaPlugin({ window: 'week' })]}
/>
  • @ilamy/calendar/plugins/recurrence — RFC 5545 recurring-event expansion and scoped edit/delete. Also re-adds rrule/recurrenceId/exdates to CalendarEvent.
  • @ilamy/calendar/plugins/agenda — an agenda (upcoming-events list) view scoped to a window.

Examples

Explore the examples directory for complete implementation patterns:

  • Next.js - Integration with Next.js and Tailwind CSS.
  • Astro - Static site integration with Astro.
  • Vite - Fast, minimal setup using Vite.

Documentation

For comprehensive guides, API references, and interactive demos, visit ilamy.dev.


License

MIT © Sujeet Kc