Countdown 7 block design & features
Countdown7 is a product sale section built with shadcn/ui and Motion. A product photo sits beside the heading, sale and original prices, a row of countdown tiles, two progress bars and a discount code.
The digits roll each second, the time bar fills as the sale runs, and the stock count steps down every few seconds so the page feels live. The copy button writes the code to the clipboard and confirms with a short Copied state.
It fits limited runs, flash sales and end-of-season offers on a single product. When the sale ends the heading, copy and button change to a follow-up message, and reduced motion turns off the rolling digits and bar easing.
