Skip to main content
Clever Ops

Payment Plans

Payment plan explainer React block for trades, weekly amounts in mono, a worked job example ledger, and honest fine print. Tailwind tokens, no BNPL branding.

Preview & code

Loading Payment Plans preview

Installation

pnpm dlx shadcn@latest add @cleverui/trade-payment-plans

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

Usage

tsx
import { TradePaymentPlans } from '@/components/blocks/trade-payment-plans'
Exampletsx
import { TradePaymentPlans } from '@/components/blocks/trade-payment-plans'

export default function TradePaymentPlansDemo() {
  return (
    <div className="mx-auto max-w-6xl px-4 py-6 sm:px-6">
      <TradePaymentPlans
        heading="Fix it now, pay it over time"
        body="A burst hot water service doesn't wait for payday. Pick a term, we install this week, approval is usually same day."
        example={{
          label: 'On a $2,400 hot water change-over',
          rows: [
            { item: 'Job total', value: '$2,400' },
            { item: 'Deposit today', value: '$0' },
            { item: 'Weekly amount (52 weeks)', value: '$46/wk' },
          ],
        }}
        plans={[
          {
            term: '26 weeks',
            weekly: '$92/wk',
            total: '$2,392 all up',
            badge: 'Interest free',
          },
          {
            term: '52 weeks',
            weekly: '$46/wk',
            total: '$2,392 all up',
            badge: 'Interest free',
          },
          {
            term: '104 weeks',
            weekly: '$28/wk',
            total: '$2,912 all up',
          },
        ]}
        providerLine="Plans through Brighte, Australian Credit Licence 508217"
        disclosure={[
          'Approval usually within the hour for homeowners 18+ with ID and a mobile number.',
          'Missed payments may attract a late fee of $15 after 7 days past due.',
          'Interest-free terms shown above; longer terms may include a fixed establishment fee disclosed before you sign.',
          "We are not the credit provider, Brighte's terms apply once you accept.",
        ]}
      />
    </div>
  )
}

API reference

TradePaymentPlans accepts the following props.

PropTypeDefaultDescription
headingstring'Fix it now, pay it over time'
bodystringone plain paragraph under the heading
exampleTradePaymentExampleworked job ledger, job total, deposit, weekly amount
plans*TradePaymentPlan[]2–4 plan terms; total always visible
providerLinestringcredit provider reference line
disclosurestring[]2–4 plain-English disclosure lines

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

Referenced types

Typestsx
export interface TradePaymentExample {
  label: string
  rows: TradePaymentExampleRow[]
}

export interface TradePaymentPlan {
  term: string
  /** preformatted, e.g. "$46/wk" */
  weekly: string
  /** always shown, e.g. "$2,392 all up" */
  total: string
  badge?: string
}

export interface TradePaymentExampleRow {
  item: string
  value: string
}

Frequently asked questions

How do I install the Payment Plans component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/trade-payment-plans`. 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 Payment Plans require?

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

Can I theme Payment Plans 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