RecurringSchedule
Frequency, end condition, preview of next 3.
npx shadcn add @lopifi/recurring-scheduleExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
How it behaves
What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.
Frequency, start, end condition. Always previews the next three occurrences with resolved dates. "Monthly on the 31st" is ambiguous in February; the preview shows how it resolves before it surprises anyone. The preview honors the end condition: the start date is the first payment, "after N payments" and "on a date" cut the list short ("All 2 payments") and state the last payment and the count, and an end date before the start says so instead of listing dates. Uncontrolled via defaultFrequency / defaultStart / defaultValue, or controlled via value + onChange.
More in Payments
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section RecurringSchedule renders in, the calculators behind its figures, and the ledger payloads that feed it.
Components are copied into your repository and meant to be edited. Rounding policy, fiscal calendar and compliance copy differ per company.
Release notes
Get an email when Payments changes
Your copy doesn’t update itself when we fix something here.
- One email when a Payments component needs a migration
- Nothing when nothing changes
Or install it now