Motionshelf
← All components

Location

Order Tracker

Each stage checks off, the courier rides the route on the map and the time left counts down to delivered.

Install

npx shadcn@latest add https://motionshelf-pi.vercel.app/r/order-tracker.json

Copies the file into your project. Requires React 19, Tailwind CSS v4 and GSAP (installed as a dependency).

Props

NameTypeDefaultDescription
orderstring"Order #2481"Order name or number in the header.
steps[string, string, string, string]["Order placed", …]The four stages, in order.
times[string, string, string, string]["14:02", …]Time next to each stage.
etanumber12Minutes left when the courier leaves.
etaLabelstring"Arrives in"Text before the minutes.
minutesLabelstring"min"Word after the minutes.
deliveredLabelstring"Delivered"Text that replaces the countdown at the end.
accentstring"#1f5bff"Color of the route, the checks and the courier.
loopbooleantrueReplay forever with a pause between runs.
classNamestring""Extra classes for the outer element.

Dependencies

  • gsap
  • @gsap/react