Shared Package Library

DepartureCountdown

Common

import DepartureCountdown from "@dertour/ui/components/common/DepartureCountdown/DepartureCountdown"

packages/ui/src/components/common/DepartureCountdown/DepartureCountdown.tsx · used by kuoni

Departure countdown bar (KWRP-220): "Jetset, ready, go in…" followed by boxed Months / Weeks / Days / Mins cells and an "Inspiration for your trip" link. Renders nothing once the trip has departed or the date is unknown. The first render is computed from `today` (so server and client markup match); after mount the component switches to the live clock and re-renders each minute so the Mins cell stays current.


Loading demo…