Countdown 12 block design & features
Countdown12 is a product drop block built with shadcn/ui and Motion. A photo carousel of three colourways sits beside the product name, price, a countdown to the draw closing, live entry numbers and an enter button.
The carousel moves through each colourway on its own with a progress bar, until a thumbnail or swatch is picked. The entries counter ticks up at an uneven pace with rolling digits and the odds update with it. Entering the draw locks the colour, swaps the button to a confirmed state and shows the entry number. When the countdown hits zero the panel changes to a Winners drawn message.
It suits sneaker and watch raffles, limited editions and ticket ballots. Pass a targetDate for the real close time, along with the number of units and a starting entry count. Reduced motion slows the counter and turns off the slides.
