This component no longer exists. It was in shadcn/ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-05 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
calendar-19
accelya-ui-lib/calendar-19RemovedBlock
With presets
Install it
npx shadcn@latest add https://raw.githubusercontent.com/ramsaoji/Accelya-UI-Lib/main/public/r/styles/default/calendar-19.jsonSource
1"use client"23import * as React from "react"4import { addDays } from "date-fns"56import { Button } from "@/registry/default/ui/button"7import { Calendar } from "@/registry/default/ui/calendar"8import { Card, CardContent, CardFooter } from "@/registry/default/ui/card"910export default function Calendar19() {11 const [date, setDate] = React.useState<Date | undefined>(12 new Date(2025, 5, 12)13 )1415 return (16 <Card className="max-w-[300px] py-4">17 <CardContent className="px-4">18 <Calendar19 mode="single"20 selected={date}21 onSelect={setDate}22 defaultMonth={date}23 className="bg-transparent p-0 [--cell-size:2.375rem]"24 />25 </CardContent>26 <CardFooter className="flex flex-wrap gap-2 border-t px-4 pb-0 pt-4">27 {[28 { label: "Today", value: 0 },29 { label: "Tomorrow", value: 1 },30 { label: "In 3 days", value: 3 },31 { label: "In a week", value: 7 },32 { label: "In 2 weeks", value: 14 },33 ].map((preset) => (34 <Button35 key={preset.value}36 variant="outline"37 size="sm"38 className="flex-1"39 onClick={() => {40 const newDate = addDays(new Date(), preset.value)41 setDate(newDate)42 }}43 >44 {preset.label}45 </Button>46 ))}47 </CardFooter>48 </Card>49 )50}
What it pulls in
npm packages
Other registry items
