Deals 2 - Flash sale grid with stock bars
A flash sale product grid where every card shows the discount, sale and original price and a stock bar of how many units are left, with sold-out cards dimmed. Use it for time-boxed sales events where scarcity drives clicks.
About Deals 2
A flash sale product grid where every card shows the discount, sale and original price and a stock bar of how many units are left, with sold-out cards dimmed. Use it for time-boxed sales events where scarcity drives clicks.
Deals 2 is a free deals block for React, built on shadcn/ui and Tailwind CSS. It ships as 92 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
- flash sale
- grid
- stock
- progress
- discount
- scarcity
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/deals-02Dependencies installed automatically: lucide-react.
Uses: badge, button, reveal, utils.
Usage
import Deals02 from "@/components/blocks/deals-02"
export default function Page() {
return <Deals02 />
}