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-22
accelya-ui-lib/calendar-22RemovedBlock
Date picker
Install it
npx shadcn@latest add https://raw.githubusercontent.com/ramsaoji/Accelya-UI-Lib/main/public/r/styles/default/calendar-22.jsonSource
1"use client"23import * as React from "react"4import { ChevronDownIcon } from "lucide-react"56import { Button } from "@/registry/default/ui/button"7import { Calendar } from "@/registry/default/ui/calendar"8import { Label } from "@/registry/default/ui/label"9import {10 Popover,11 PopoverContent,12 PopoverTrigger,13} from "@/registry/default/ui/popover"1415export default function Calendar22() {16 const [open, setOpen] = React.useState(false)17 const [date, setDate] = React.useState<Date | undefined>(undefined)1819 return (20 <div className="flex flex-col gap-3">21 <Label htmlFor="date" className="px-1">22 Date of birth23 </Label>24 <Popover open={open} onOpenChange={setOpen}>25 <PopoverTrigger asChild>26 <Button27 variant="outline"28 id="date"29 className="w-48 justify-between font-normal"30 >31 {date ? date.toLocaleDateString() : "Select date"}32 <ChevronDownIcon />33 </Button>34 </PopoverTrigger>35 <PopoverContent className="w-auto overflow-hidden p-0" align="start">36 <Calendar37 mode="single"38 selected={date}39 captionLayout="dropdown"40 onSelect={(date) => {41 setDate(date)42 setOpen(false)43 }}44 />45 </PopoverContent>46 </Popover>47 </div>48 )49}
What it pulls in
Other registry items
