Pricing 84 - Course with one-time or installment paymentPro

Online course enrollment block with a course preview image, curriculum stats and a pay-in-full versus installments switch that animates the price.

About Pricing 84

Online course enrollment block with a course preview image, curriculum stats and a pay-in-full versus installments switch that animates the price.

Pricing 84 is a pro pricing block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 131 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.

  • course
  • education
  • installments
  • one-time
  • enrollment

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/pricing-84

Dependencies installed automatically: lucide-react, motion.

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

Usage

import Pricing84 from "@/components/blocks/pricing-84"

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

FAQ