Live Purchase 1 - Product hero with cycling "just bought" toasts

A product spotlight with price and feature list, paired with a social-proof toast that cycles through recent buyers ("Lena in Berlin just bought…") on a timer and freezes on a single static toast when reduced motion is on. Use it on product or landing pages to show real-time demand without a backend.

About Live Purchase 1

A product spotlight with price and feature list, paired with a social-proof toast that cycles through recent buyers ("Lena in Berlin just bought…") on a timer and freezes on a single static toast when reduced motion is on. Use it on product or landing pages to show real-time demand without a backend.

Live Purchase 1 is a free live purchase block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 142 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.

  • social-proof
  • toast
  • notification
  • fomo
  • ecommerce
  • product

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/live-purchase-01

Dependencies installed automatically: lucide-react, motion.

Uses: button, reveal, use-reduced-motion, utils.

Usage

import LivePurchase01 from "@/components/blocks/live-purchase-01"

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

FAQ