Calm motion: animations on this site only fade, with no movement
Shipment tracker
The steps of a delivery, with dates and the latest update
Shows where an order is: ordered, packed, shipped, out for delivery, or delivered. Under the steps, it shows the latest update of the carrier. For the steps of a form, use the steps.
Basic
- Ordered10 Nov, done
- Packed11 Nov, done
- Shipped12 Nov, done
- Out for delivery14 Nov, current step
- Delivered
Latest update
Out for delivery with the courier
All updates (4)
- Out for delivery with the courier · Jakarta Selatan
- Arrived at the delivery hub · Jakarta
- Left the warehouse · Bandung
- Packed and labeled · Bandung
Tracking number (JNE): JN0041 2026 1115
stageis the last step that the order reached: 0 ordered, 1 packed, 2 shipped, 3 out for delivery, and 4 delivered. The steps before it have a check, and a line fills up to it.datesgives the date of each step that is done, as text, in the same order.eventsis the list of updates of the carrier, newest first. Each update has atimeand atext, both as text, and an optionalplace. The newest update shows under the steps. "All updates" opens the full list.problemshows a problem with the delivery as an alert. The current step then shows a "!" in the danger color.trackingshows the tracking number, with thecarriername. With atracking-url, the number is a link.- The current step has
aria-current="step", and screen readers hear "done" or "current step" after each name. Change the words withlabelsor a label pack:title,ordered,packed,shipped,out,delivered,latest,history,tracking,done, andcurrent.
Usage
ts
import { BlessShipmentTracker } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
stage* | number | — | the stage the order has reached: 0 ordered, 1 packed, 2 shipped, 3 out for delivery, 4 delivered |
dates | (string | undefined)[] | [] | the date of each stage that is done, as text |
events | BlessShipmentEvent[] | [] | the updates of the carrier, newest first |
problem | string | — | a problem with the delivery: the current stage shows it |
carrier | string | — | |
tracking | string | — | |
trackingUrl | string | — | a link to the page of the carrier |
labels | Partial<Record<"out" | "shipped" | "delivered" | "ordered" | "packed", string> & { title: string; latest: string; history: string; tracking: string; done: string; current: string; }> | — |