Lambda UI
v1.3.4
Stable

Calendar

Calendar component for date selection with navigation, events, and date constraints.

Playground

Experiment with all the properties of the Calendar component in real time.

Properties
variant

Visual style of the calendar.

radius
Small

Border radius of the calendar.

disabled

Disables the entire calendar.

Sun Mon Tue Wed Thu Fri Sat
2829301

Usage

Calendar is a controlled component that requires value and onChange props to manage the selected date.

import { Calendar } from "lambda-ui-components";
import { useState } from "react";

export default function App() {
	const [date, setDate] = useState<Date>(new Date());

	return (
		<Calendar 
			value={date} 
			onChange={setDate} 
		/>
	);
}

With Min and Max Dates

Restrict selectable dates using minDate and maxDate props.

Sun Mon Tue Wed Thu Fri Sat
2829301

With Custom Disabled Dates

Use isDateDisabled to disable specific dates based on custom logic.

Sun Mon Tue Wed Thu Fri Sat
2829301

With Events

Display events on specific dates using the events prop. Each event can have multiple labels with different status colors.

Sun Mon Tue Wed Thu Fri Sat
2829301

Calendar Props

Props

Prop
Default
Type
value
undefined
Date
onChange
undefined
(date: Date) => void
minDate
undefined
Date
maxDate
undefined
Date
disabled
false
boolean
variant
"solid"
"solid" | "outline"
radius
"small"
"none" | "tiny" | "small" | "medium" | "large"
isDateDisabled
undefined
(date: Date) => boolean
events
undefined
CalendarEvents[]

CalendarEvents Type

Props

Prop
Default
Type
date
undefined
Date
label
undefined
string[]
status
undefined
("success" | "warning" | "danger")[]
The modern React component library.
© 2026 Lambda UI. Made with in Mexico by AletzMan.