Recurrence picker
Set how something repeats and read it back in a sentence before saving: days, weeks or months, which weekdays or day of the month, the time, and when it stops. The next three runs are listed underneath.
FREQ=WEEKLY;INTERVAL=1;BYDAY=MO;BYHOUR=9;BYMINUTE=0When to use
- Scheduled reports, reminders, syncs and recurring invoices.
- Anywhere a rule must be checked against real dates.
When not to use
- One-off dates; use the date picker.
- Complex rules like "the last Friday"; offer a cron or RRULE field for those.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/recurrence-picker
Adds its 12 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
RecurrencePicker
4 props
PropTypeDefault
value *Recurrence—
onValueChange *(value: Recurrence) => void—
nowDate—
classNamestring—
describeRecurrence
6 props
PropTypeDefaultDescription
freq *"monthly" | "daily" | "weekly"—
interval *number—Every n days, weeks or months.
weekdays *number[]—Weekly: 0 Sunday … 6 Saturday.
monthDay *number—Monthly: day of the month, 1–31 (short months use their last day).
time *string—"HH:MM", 24-hour.
ends *{ type: "never"; } | { type: "after"; count: number; } | { type: "on"; date: string; }—
toRRule
6 props
PropTypeDefaultDescription
freq *"monthly" | "daily" | "weekly"—
interval *number—Every n days, weeks or months.
weekdays *number[]—Weekly: 0 Sunday … 6 Saturday.
monthDay *number—Monthly: day of the month, 1–31 (short months use their last day).
time *string—"HH:MM", 24-hour.
ends *{ type: "never"; } | { type: "after"; count: number; } | { type: "on"; date: string; }—
nextOccurrences
6 props
PropTypeDefaultDescription
freq *"monthly" | "daily" | "weekly"—
interval *number—Every n days, weeks or months.
weekdays *number[]—Weekly: 0 Sunday … 6 Saturday.
monthDay *number—Monthly: day of the month, 1–31 (short months use their last day).
time *string—"HH:MM", 24-hour.
ends *{ type: "never"; } | { type: "after"; count: number; } | { type: "on"; date: string; }—
Keyboard
- Keyboard and focus come from Radix popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.
Accessibility
It is built on native elements and keeps aria-live in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/recurrence-picker.mdThe index of every part is at /llms.txt.
More in Dates
Date pickerA date field that opens a calendar, with min, max and today shortcuts.Data exportA copy of someone's data on request: choose what to include and the format, follow the progress, then download until the link expires. One export at a time; past ones stay listed.Time pickerChoose a time with minute steps and a 12 or 24 hour format.