Calendar

A date picker component with Neo-Brutalism styling. Built on top of react-day-picker.

Installation

pnpm dlx brutx@latest add calendar

Basic Calendar

A simple calendar for selecting a single date.

May 2026

Selected: 5/28/2026

Range Selection

Select a range of dates with visual feedback.

May 2026

With Week Numbers

Display week numbers alongside the calendar.

May 2026
18
19
20
21
22
23

Disabled Dates

Disable specific dates or date ranges.

May 2026

Weekends and past dates are disabled

Props

PropTypeDefaultDescription
mode"single" | "range" | "multiple""single"Selection mode
selectedDate | DateRange | Date[]-Selected date(s)
onSelectfunction-Callback when date is selected
numberOfMonthsnumber1Number of months to display
showWeekNumberbooleanfalseShow week numbers
showOutsideDaysbooleantrueShow days outside current month
disabledMatcher | Matcher[]-Dates to disable