Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProAn estimated delivery range worked out from the order date, processing days and a shipping speed, counting only working days and skipping holidays and the order cut-off. Use this when a shop promises a delivery window from when the order is placed.
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 shop promises a delivery window from when the order is placed.
Do not use it when the customer picks the delivery day; use pickup-or-delivery-window.
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 |
|---|---|---|---|
| orderedAt | string | now | Local date-time of the order. |
| processingDays | number | 1 | Working days to prepare the order. |
| speeds | { id; label; min; max }[] | Standard 3-5, Express 1-2 | Working days in transit. |
| cutoff | string | 14:00 | Orders after this count as the next working day. |
| holidays | string[] | [] | Non-working dates. |
The pattern ships with a Testing Library test (delivery-estimate-date.test.tsx) that covers the cut-off, weekends, holidays and each speed.