Shelf is open source and in early preview
Shelf

For AI agents: the documentation index is at /llms.txt, and any docs page is available as Markdown by appending .md to its URL.

Calendar

A month grid for picking a single date, a range, or several dates, built on react-day-picker.

October 2026

When to use

Use when
A date needs to be picked from a visible month, such as a booking page or a range filter.
Avoid when
People know the exact date and would rather type it; use Input with a date type.

Installation

The source lands in src/components/ui/calendar.tsx, along with any Shelf items it builds on, and .shelf/lock.json records what was installed. It's yours to edit.

Usage

Examples

Range

Pick a start and an end date across two months.

November 2026
December 2026

Disabled days

Weekends and past dates can't be picked.

October 2026

Month and year dropdowns

Jump straight to a month and year, for dates far away such as a birthday.

June 1990

Built on

Packages
@stylexjs/stylex, react-day-picker
Shelf items
Button, foundations, Icons, utils
Figma
Optional native Figma library. See Designers.

Verified

Size
2.6 kB gzipped on its own, 30 kB with the Shelf items and packages it builds on. JS and CSS in a production build, without React.
Accessibility
Axe passes on 6 stories
Behavior
6 interaction tests in Storybook
React Doctor
React Doctor finds nothing