Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProAn event date with a reply-by date that defaults to two weeks before it, can be changed, must stay in the future and before the event, and shows the days people get to answer. Use this when invitations ask for a reply and the reply-by date depends on the event date.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when invitations ask for a reply and the reply-by date depends on the event date.
Do not use it for general deadlines; use deadline-with-end-of-day.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
| eventDate / onChange | string | null | null | Date of the event. |
| defaultLeadDays | number | 14 | Days before the event for the default reply-by. |
| onValueChange | (value: { eventDate; replyBy }) => void | - | Both dates. |
| today / locale | - | - | Reference and locale. |
The pattern ships with a Testing Library test (rsvp-deadline-field.test.tsx) that covers the suggestion, not suggesting the past, keeping a hand-edited date and validation.