SUSupaUI

Forms

DatePicker

Calendar in a Popover with a Button trigger formatted via date-fns.

Install

bash
npx shadcn@latest add https://supaui.dev/r/date-picker.json

Usage

API

  • value / defaultValue — controlled or uncontrolled.
  • onChange(date) — callback with the next selection.
  • placeholder — text shown when no value is selected.