DatePicker

Calendar-driven date picker with range mode, disabled dates, and keyboard navigation.

Forms & Inputs@sisyphos-ui/datepickerView on npm

Preview

tsx
Loading preview…

Installation

Install the individual package:

snippet.bashbash
pnpm add @sisyphos-ui/datepicker @sisyphos-ui/core

Or use the umbrella package that bundles everything:

snippet.bashbash
pnpm add @sisyphos-ui/ui

Usage

Import the component styles and the component itself:

snippet.tsxtsx
import "@sisyphos-ui/datepicker/styles.css";
import { DatePicker } from "@sisyphos-ui/datepicker";

Range mode

Add `isRange` and a `[Date | null, Date | null]` value.

tsx
Loading preview…

API

Props table is being written. See the package README for the complete API surface.

The full API including refs, ARIA attributes, and HTML passthroughs lives in the package README.