Components
Calendar
A calendar component that allows users to select a date or a range of dates.
mrt2026maart 2026 | ma | di | wo | do | vr | za | zo |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
import { Calendar } from "@tulip-systems/core/components/client";
const [date, setDate] = React.useState<Date | undefined>(new Date());
return <Calendar mode="single" selected={date} onSelect={setDate} className="rounded-lg border" />;
The Calendar component accepts a timeZone prop to ensure dates are displayed and selected in the
user's local timezone.
Note: If you notice a selected date offset, make sure the timeZone prop is set to the user's
local timezone.
A basic calendar component. We used className="rounded-lg border" to style the calendar.
maart 2026
| ma | di | wo | do | vr | za | zo |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Use the mode="range" prop to enable range selection.
Use captionLayout="dropdown" to show month and year dropdowns.
mrt2026maart 2026 | ma | di | wo | do | vr | za | zo |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Use showWeekNumber to show week numbers.