calendar-03
showcase-elevenlabs/calendar-03FreeBlock
Multiple months with multiple selection.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/elevenlabs/showcase/main/apps/www/public/r/styles/new-york/calendar-03.jsonSource
1"use client"23import * as React from "react"45import { Calendar } from "@/registry/new-york/ui/calendar"67export default function Calendar03() {8 const [dates, setDates] = React.useState<Date[]>([9 new Date(2025, 5, 12),10 new Date(2025, 6, 24),11 ])1213 return (14 <Calendar15 mode="multiple"16 numberOfMonths={2}17 defaultMonth={dates[0]}18 required19 selected={dates}20 onSelect={setDates}21 max={5}22 className="rounded-lg border shadow-sm"23 />24 )25}
What it pulls in
Other registry items
Files it writes
More from shadcn/ui
All 357 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| calendar-01calendar-01 | shadcn/ui | Blocks | Free | no deps | |
| calendar-02calendar-02 | shadcn/ui | Blocks | Free | no deps | |
| calendar-04calendar-04 | shadcn/ui | Blocks | Free | no deps | |
| calendar-05calendar-05 | shadcn/ui | Blocks | Free | no deps | |
| calendar-06calendar-06 | shadcn/ui | Blocks | Free | no deps | |
| calendar-07calendar-07 | shadcn/ui | Blocks | Free | no deps | |
| calendar-08calendar-08 | shadcn/ui | Blocks | Free | no deps | |
| calendar-09calendar-09 | shadcn/ui | Blocks | Free | no deps |
