Calendar

inputs

A date field component that allows users to enter and edit date.

Preview
April 2026

Installation

npm install @launchapp/design-system
Import
import { Calendar } from "@launchapp/design-system";

Examples

Single Date Picker

const [date, setDate] = React.useState<Date | undefined>();<Calendar  mode="single"  selected={date}  onSelect={setDate}  className="rounded-md border"/>

Props

PropTypeDefaultDescription
mode
"single" | "multiple" | "range""single"Selection mode for the calendar.
selected
Date | Date[] | DateRangeThe selected date(s).
onSelect
(date: Date | undefined) => voidCallback when a date is selected.
disabled
Matcher | Matcher[]Dates to disable.
initialFocus
booleanWhether to focus the calendar on mount.