Countdown 5 block design & features
Countdown5 is a single-line announcement bar built with shadcn/ui and Motion. It holds a short sale message, a compact days, hours, minutes and seconds readout and a text link, with a close button on the right.
The digits roll as they change, and closing the bar collapses it smoothly out of the layout. On narrow screens the message, timer and link wrap onto centred lines instead of overflowing.
It suits seasonal sales, shipping cut-offs and short-lived offers that should stay visible without taking over the page. A targetDate prop sets the end time, and once it passes the bar shows a plain closing message.
