Date picker

Core

Choose a date without losing context.

pnpm dlx shadcn@latest add https://wui.alann.works/r/date-picker.json

API Reference

PropTypeDefault
label*stringrequired
valueDate—
onChange(date: Date | undefined) => void—
descriptionstring—
placeholderstring—
minDateDate—
maxDateDate—
disabledDatesCalendarDateMatcher—
localestring—
formatIntl.DateTimeFormatOptions—
showTodayboolean—
Categories
inputs
Dependencies
lucide-reactmotion