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

@dateforge/react-calendar

v1.6.0

Published

Modular React calendar toolkit. Compose single, multiple, range, time, presets, tracks, themes, appearances, and custom flows with zero dependencies.

Readme

downloads    codecov    publint    SSR safe    A11y    OpenSSF Scorecard    Socket    Visual regression

@dateforge/react-calendar

🚀 Live Demo  ·  📖 Docs  ·  📚 Storybook

A modular calendar toolkit that starts tiny and grows with your product.

Monolithic pickers ship the grid, nav, time picker, presets, layout opinions, and weight. DateForge ships only what you use.

Start with two components. Add range selection, multi-select, time, presets, manual input, chips, tracks, custom layouts, themes, and tokens.

DateForge is not one picker with a long prop list. It is a set of focused modules that share one calendar brain.

Modular · Composable · Tokenized
Start minimal. Scale infinitely. Add only the modules you need.

The module mix, selection modes, tokens, and focused props unlock ~2.0 trillion built-in calendar configurations without forcing one prebuilt UI.

Use built-in themes and appearances, or create your own. Shape selection with presets, disabled rules, min/max bounds, timezones, and modes: single, multiple, or range.

Build a classic picker, date track, 12-month board, month-only selector, time-only control, or custom booking flow from the same parts.


Install

npm i @dateforge/react-calendar

No global CSS import is required — styles are bundled into the modules and apply automatically.

Quick start

import { useState } from "react";
import { Calendar } from "@dateforge/react-calendar";
import { CalendarNav, CalendarDays } from "@dateforge/react-calendar/modules";

export function Example() {
  const [date, setDate] = useState<Date | null>(null);

  return (
    <Calendar mode="single" value={date} onChange={setDate}>
      <CalendarNav showMonthPicker compactYears />
      <CalendarDays />
    </Calendar>
  );
}

Why DateForge?

Most date pickers ask you to accept their shape. DateForge lets you forge yours.

  • Ship less by default — import CalendarDays and CalendarNav, then stop. No unused time picker, presets, or hidden panel.
  • Compose real workflows — add modules for range previews, multi-month layouts, inline time, shortcuts, manual input, summaries, or tracks.
  • Keep one shared state model — every module plugs into the same provider, so custom layouts feel native instead of stitched together.
  • Style it like your system — themes, appearances, gradients, CSS-grid placement, and tokens help it feel built-in.
  • Grow without rewriting — the same API covers a tiny picker, booking range calendar, scheduler, or dense operations tool.
  • Built for serious apps — a11y, SSR-safe defaults, timezones, React 18/19, zero runtime dependencies, and tree-shakeable modules.
<Calendar mode="range" value={range} onChange={setRange}>
  <CalendarNav showMonthPicker compactYears />
  <CalendarDays />
  <CalendarPresets presets={presets} />
  <CalendarSelectedDates />
</Calendar>

Remove a line, remove a feature. Add a module, add a workflow. That is the core idea.

Modules

| Module | Use it for | | ----------------------- | ----------------------------------------------------------- | | CalendarNav | Month/year navigation, popups, clear, optional time | | CalendarDays | Classic month grid for single, multiple, and range | | CalendarSelectedDates | Selected-date chips, overflow, per-chip clear | | CalendarInfo | Selection metrics, relative hints, empty text, home / clear | | CalendarManualInput | Typed dates, keyboard-first editing, per-date remove | | CalendarPresets | Shortcuts like Today, Last 7 days, custom ranges | | CalendarTimeGrid | Inline hour/minute/second selection | | CalendarMonthsGrid | Month-only picking or fast month jumps | | CalendarYearsGrid | Year-only picking or fast year jumps | | CalendarDaysTrack | Scrollable day track for compact/mobile layouts | | CalendarMonthsTrack | Scrollable month track | | CalendarYearsTrack | Scrollable year track |


Links