Date Picker

A button that opens a calendar in a popover.

components/ui/calendar.tsx

Installation

npx betterone-ds add calendar popover

Props

PropTypeDefault
Calendar valueDateValue—
Popover placementstring"bottom"

Accessibility

  • The popover traps focus and closes with Esc.