1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. ai2
  3. Date Picker

Date Picker

ui

Date field that opens a Calendar in a Popover. Controlled or uncontrolled via value/defaultValue and onValueChange; formats the selected date with date-fns and shows a placeholder when empty.

pnpm dlx shadcn@latest add "https://ai2.design/r/date-picker.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • date-fns@^4.4.0
  • lucide-react@^1.23.0
components/ui/date-picker.tsx