Calendar
shadcn/uiA date field component that allows users to enter and edit date.
Installation
Props
<Calendar />
Name
Type
className
string
classNames
object
showOutsideDays
boolean (default: true)
captionLayout
"label" | "dropdown" | "dropdown-months" | "dropdown-years"
buttonVariant
"default" | "outline" | "ghost" | "destructive" | "secondary" | "info" | "success" | "warning" | "muted" | "raised" | "link" (default: "ghost")
formatters
object
components
object