Skip to content
caliper ui pro docs

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.

Pro
Repeat

week
Ends

Every week on Monday at 9:00 am.

Next: Mon, Dec 7, 9:00 AM · Mon, Dec 14, 9:00 AM · Mon, Dec 21, 9:00 AM

FREQ=WEEKLY;INTERVAL=1;BYDAY=MO;BYHOUR=9;BYMINUTE=0

When 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.md

The index of every part is at /llms.txt.

More in Dates