Banner 2 - Launch countdownPro

Launch countdown strip with flipping digits driven by use-interval and a CTA.

About Banner 2

Launch countdown strip with flipping digits driven by use-interval and a CTA.

Banner 2 is a banner block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 114 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • countdown
  • timer
  • launch

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add banner-02

Dependencies installed automatically: lucide-react, motion.

Uses: button, motion-presets, use-interval, utils.

Usage

import Banner02 from "@/components/blocks/banner-02"

export default function Page() {
  return <Banner02 />
}

FAQ