Skip to content
GetUrUI

Order tracking

3 variantsNewPro
.md

Post-purchase tracking — a shipment stepper with ETA, an SVG route map with a gliding van and a full event timeline with delays — that fill, glide and expand with springs.

ordertrackingshippingdeliverysteppermaptimelineecommerce

Shipment stepper

shipment-stepper.tsx

A large ETA, a track that springs to the live step, a pulsing current step, step details on click or arrows and a copyable tracking number.

$npx shadcn@latest add @geturui-pro/order-tracking-shipment-stepper
PropTypeDefaultDescription
orderIdstring—Order number in the header.
items{ name, initials }[]—Items shown as initial tiles.
eta / etaWindowstring—Headline estimate and window.
stepsShipmentStep[]—{ label, time, detail } per step.
currentnumber2Index of the step in progress.
carrier / trackingstring—Carrier name and tracking number.

Route map

route-map.tsx

A map drawn in SVG with streets, river and parks; the travelled leg draws in, a van glides to its live spot and stop pins open on hover or focus.

$npx shadcn@latest add @geturui-pro/order-tracking-route-map
PropTypeDefaultDescription
route[number, number][]—Route vertices in a 400×240 map space.
stopsRouteStop[]—{ at, label, detail, kind } pins on route vertices.
progressnumber0.640–1 position of the van along the route.
status / eta / driverstring—Footer copy.
stopsAwaynumber4Stops before the customer.

Order timeline

order-timeline.tsx

Tracking history newest first: events cascade in, the latest pulses, a delay shows its reason, and older updates expand in place with a layout spring.

$npx shadcn@latest add @geturui-pro/order-tracking-order-timeline
PropTypeDefaultDescription
orderIdstring—Order number in the header.
eventsTrackingEvent[]—{ id, date, time, title, location, note?, tone? }, newest first.
initialCountnumber4Events shown before Show all.
etastring—Estimated delivery caption.
delayLabelstring"Delayed one day"Badge shown when any event is a warning.

Install the whole set

Installs every order tracking variant at once. Each section above has its own command for a single variant.

Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.

$npx shadcn@latest add @geturui-pro/order-tracking

Accessibility

  • Steps and map pins are buttons with labels that include status and time; the live step uses aria-current="step" and arrow keys move between steps.
  • Delays are shown with a warning icon, a word and the reason, and the timeline toggle reports aria-expanded.
  • Reduced motion stops the pulse rings and places the van, track fill and route at their final positions.

Related