Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA daily list of dose times that stays sorted, refuses doses too close together (counting across midnight) and summarises how many doses a day and the smallest gap. Use this when a medicine is taken several times a day and the gaps between doses matter.
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 a medicine is taken several times a day and the gaps between doses matter.
Do not use it for one-off reminders; use appointment-reminder-offsets.
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 |
|---|---|---|---|
| value / defaultValue | string[] | ["08:00", "20:00"] | Dose times HH:mm. |
| onValueChange | (times: string[]) => void | - | Sorted times. |
| minGapHours | number | 4 | Smallest allowed gap. |
| maxDoses | number | 6 | Most doses a day. |
The pattern ships with a Testing Library test (medication-schedule-times.test.tsx) that covers the gaps including the wrap-around, the sorting and refusing a dose that is too close.