Skip to main content
Clever Ops

Tuition Payment Options

One course, three honest ways to pay, upfront, monthly, or deferred, with plain totals and a shared includes list. A React and Tailwind tuition block for course sites.

Preview & code

Loading Tuition Payment Options preview

Installation

pnpm dlx shadcn@latest add @cleverui/tuition-payment-options

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { TuitionPaymentOptions } from '@/components/blocks/tuition-payment-options'
Exampletsx
import { TuitionPaymentOptions } from '@/components/blocks/tuition-payment-options'

export default function TuitionPaymentOptionsDemo() {
  return (
    <div className="mx-auto w-full">
      <TuitionPaymentOptions
        heading="Ways to pay"
        intro="Same course, same certificate, pick the payment rhythm that fits your life."
        options={[
          {
            name: 'Pay in full',
            price: '$4,950',
            cadence: 'one payment before week one',
            total: '$4,950 total',
            bestFor:
              'Best if you have savings set aside and want the lowest overall cost.',
            ctaLabel: 'Pay in full',
            href: '#pay-full',
          },
          {
            name: 'Monthly',
            price: '$450',
            cadence: 'per month for 12 months',
            total: '$5,400 total',
            bestFor:
              'Best if you want a predictable monthly amount while you study and start interviewing.',
            recommended: true,
            ctaLabel: 'Choose monthly',
            href: '#monthly',
          },
          {
            name: 'Deferred',
            price: '$0',
            cadence: 'due until you earn $55k+',
            total: '$5,900 total after placement',
            bestFor:
              'Best if cash is tight now and you are confident about a post-course role.',
            ctaLabel: 'Apply for deferred',
            href: '#deferred',
          },
        ]}
        includes={[
          'All course materials and project briefs',
          'Lifetime alumni community',
          '1:1 career coaching through demo day',
          'Certificate on completion',
        ]}
        finePrint="Full refund within the first 14 days, no questions asked."
      />
    </div>
  )
}

API reference

TuitionPaymentOptions accepts the following props.

PropTypeDefaultDescription
headingstring'Ways to pay'
introstringone encouraging plain sentence under the heading
options*TuitionPaymentOption[]
includesstring[]shared once below the grid, never repeated per card
includesLabelstring'Every option includes'
ctaLabelstring'Choose this plan'fallback CTA label when an option omits its own
finePrintstringplain-language footnote sentence

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface TuitionPaymentOption {
  name: string
  /** preformatted, e.g. '$450' */
  price: string
  /** plain line, e.g. 'per month for 12 months' */
  cadence?: string
  /** preformatted, e.g. '$5,400 total' */
  total?: string
  /** one honest sentence */
  bestFor?: string
  recommended?: boolean
  ctaLabel?: string
  href?: string
}

Frequently asked questions

How do I install the Tuition Payment Options component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/tuition-payment-options`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Tuition Payment Options require?

Tuition Payment Options uses motion and lucide-react on top of React and Tailwind CSS. You don't need to install them manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Tuition Payment Options to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services