Black Friday 40% off everything

Sale ends in

Countdown 5 - Announcement Bar Countdown

Pro

A slim dismissible announcement bar with a sale message, a compact rolling countdown and a link, sized to sit at the top of a page section.

Shadcn Countdown 5 block

Component data

ID
countdown5
Access
pro
Created
Nov 21, 2026
Type
block
Libraries
Radix UI, Base UI, React Aria

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.