Deals 1 - Deal of the day with countdown

A split hero for a single daily deal with a large product image, sale and original prices, percent saved, a live countdown to midnight UTC and a claimed-stock bar. Use it at the top of a deals page or homepage to drive urgency around one hero offer.

About Deals 1

A split hero for a single daily deal with a large product image, sale and original prices, percent saved, a live countdown to midnight UTC and a claimed-stock bar. Use it at the top of a deals page or homepage to drive urgency around one hero offer.

Deals 1 is a free deals block for React, built on shadcn/ui and Tailwind CSS. It ships as 120 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.

  • deals
  • countdown
  • timer
  • sale
  • discount
  • hero
  • urgency

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/deals-01

Dependencies installed automatically: lucide-react.

Uses: badge, button, progress, reveal, utils.

Usage

import Deals01 from "@/components/blocks/deals-01"

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

FAQ