Faber UI
Components

Calendar

A date picker built on React DayPicker.

Calendar is built on React DayPicker. It renders an accessible monthly calendar for selecting single dates, ranges, or multiple dates.

Installation

Terminal
pnpm dlx shadcn@latest add https://faber-ui.vercel.app/r/calendar.json

Usage

typescript
"use client";

import { useState } from "react";
import { Calendar } from "@/components/ui/calendar";

export default function Example() {
  const [date, setDate] = useState<Date | undefined>(new Date());
  return <Calendar mode="single" selected={date} onSelect={setDate} />;
}

Examples

Default

September 2026

Multiple

September 2026

Range

September 2026

API

Each part forwards every prop of what it is built on, including className and render where Base UI supports it. The props column lists only what Faber UI adds on top.

PartBuilt onProps
CalendarDayPickerreact-day-picker
  • buttonVariant? = "ghost"React.ComponentProps<typeof Button>["variant"]
CalendarDayButtonButtonFaber UI—

Changelog

  1. v0.3.0Calendar keeps day buttons mounted across renders and renders week numbers as row headers.minor
  2. v0.1.0Accessibility, correctness, and token fixes across the kit, from a full code-smell audit.minor
Full Calendar history

Last updated on

On this page