---
title: "RecurringSchedule"
description: "Frequency, end condition, preview of next 3."
canonical: "https://lopifi.com/components/recurring-schedule"
---

# RecurringSchedule

> Frequency, end condition, preview of next 3.

Source: https://lopifi.com/components/recurring-schedule
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Family:** Payments — 
- **Status:** Implemented
- **Spec:** https://lopifi.com/docs/catalog/payments

## Install

```bash
npx shadcn@latest add @lopifi/theme
npx shadcn@latest add @lopifi/recurring-schedule
```

## Specification

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`.

## Rules this component obeys

Money is minor units, never floats. `null` is not `0` and neither is redacted. Negatives render in accounting parentheses with the parenthesis column reserved on both sides. Debit and credit are two columns. Per-currency decimal places. Polarity is explicit — up is not always good. Every figure states its period, entity, currency, basis and as-of.
