calendar-04
showcase-elevenlabs/calendar-04FreeBlock
Single month with range selection
Install it
npx shadcn@latest add https://raw.githubusercontent.com/elevenlabs/showcase/main/apps/www/public/r/styles/new-york/calendar-04.jsonSource
1"use client"23import * as React from "react"4import { type DateRange } from "react-day-picker"56import { Calendar } from "@/registry/new-york/ui/calendar"78export default function Calendar04() {9 const [dateRange, setDateRange] = React.useState<DateRange | undefined>({10 from: new Date(2025, 5, 9),11 to: new Date(2025, 5, 26),12 })1314 return (15 <Calendar16 mode="range"17 defaultMonth={dateRange?.from}18 selected={dateRange}19 onSelect={setDateRange}20 className="rounded-lg border shadow-sm"21 />22 )23}
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-03calendar-03 | 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 |
