About this set
A parcel tracking card with a vertical timeline of delivery events, including a failed attempt, the live current step and the expected delivery. The header shows the parcel number, a short description and an Arrives Thu badge. Below it, completed events have filled green dots on a green spine, the failed attempt has a red dot and a tinted message box explaining what happened, the current step has an indigo ring with a slow pulse, and the final step is grey with its expected time. Use it on an order page, a delivery notification or a support view where the customer needs the history and the next step at a glance. The events are an ordered list, and each one starts with visually hidden text, Completed, Problem, Current step or Upcoming, so the state is spoken rather than left to colour; the live step also has aria-current=”step”. Every timestamp is a time element with a full ISO date and time. The pulse stops and becomes a static halo under reduced motion. The Bootstrap version uses .card and .badge, and the Tailwind version defines the pulse as an –animate theme value.
What’s included
- Completed, problem, current and upcoming states
- Exception step with an explanatory message box
- Pulsing current step that turns static under reduced motion
- State in visually hidden text plus aria-current="step"
- ISO timestamps in time elements
Accessibility
Events are an ordered list; each label is prefixed with visually hidden state text such as Problem: or Current step:, and the live event has aria-current="step", so state is never conveyed by colour alone. Dots and spine are CSS decoration. The pulse animation is removed under prefers-reduced-motion, and all text meets 4.5:1.
Customise it
Change --tk-done, --tk-now, --tk-bad and --tk-off on .trk for the states and --tk-muted or --tk-light for secondary text (plain CSS and Bootstrap), or the --color-tk-* theme colours and --animate-trk-pulse in Tailwind.


















