Litefold Calendar is a mobile-first, responsive month calendar for applications that need fast date browsing and a focused selected-day agenda. It is dependency-free, framework-agnostic, accessible, and designed for phone layouts, application sidebars, dashboards, portals, and wide desktop views.
Use Litefold Calendar when your product needs a polished month calendar without adopting a complete scheduling platform or maintaining separate mobile and desktop implementations.
Alpha: Until the first stable release, npm's
alphaandlatestdist-tags intentionally select the same public prerelease, so an unqualified install also receives alpha software. Pin an exact version in production-like environments. Public API changes remain possible before1.0.0and will be documented in the changelog.
npm install @tryagaindev/litefold-calendar@alphaThe package is pure ESM and has no runtime dependencies. The example below assumes an npm-aware build tool that resolves bare module specifiers and CSS imports. For a page without a bundler, use the classic-script entry-point recipe.
<div data-my-calendar></div>import { createCalendar } from "@tryagaindev/litefold-calendar";
import "@tryagaindev/litefold-calendar/styles.css";
const host = document.querySelector("[data-my-calendar]");
if (!(host instanceof HTMLElement)) {
throw new Error("Calendar host was not found.");
}
const calendar = createCalendar(host, {
initialDate: "2026-08-06",
events: [
{
id: "team-planning",
title: "Team planning",
start: "2026-08-06",
url: "/events/team-planning"
},
{
id: "design-review",
title: "Calendar design review",
start: "2026-08-06T11:38",
end: "2026-08-06T12:23"
}
]
});
calendar.render();
window.addEventListener("pagehide", (event) => {
if (!event.persisted) {
calendar.destroy();
}
});Call destroy() when the calendar is permanently removed, such as during a component or router unmount. A standalone page can use the shown non-cached pagehide cleanup while preserving the instance in the browser's back/forward cache.
The module can be evaluated in a server environment without accessing the DOM, but Litefold Calendar does not provide server-side rendering. Create and render the calendar on the client.
Litefold Calendar focuses on a responsive six-week month grid and selected-day agenda. The application owns transport, caching, authorization, recurrence expansion, routing, dialogs, and editing. Choose a broader scheduling platform when you need time-grid or resource views, date-range selection, recurrence processing, or drag-and-drop editing.
Review the complete features and scope and browser support policy before adoption.
Wide month grid with direct event actions and overflow.
Compact dark layout with the selected-day agenda.
Try the hosted demo or review the full canonical screenshot gallery.
- Run the basic example or browse the hosted demo.
- Choose a reusable scenario from the examples guide.
- Use the documentation hub to find integration, contribution, and maintainer guidance.
- Check support routes and release notes when evaluating an upgrade.
Working in this repository? Start with the contributor guide.

