Skip to main content
Clever Ops

Add-on Builder Pricing

Configurable React pricing, a base plan plus real checkbox add-ons, an itemized ledger that re-rules itself as items land, and a rolling tabular total. No dark patterns.

Preview & code

Loading Add-on Builder Pricing preview

Installation

pnpm dlx shadcn@latest add @cleverui/pricing-addon-builder

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

Usage

tsx
import { PricingAddonBuilder } from '@/components/blocks/pricing-addon-builder'
Exampletsx
import { PricingAddonBuilder } from '@/components/blocks/pricing-addon-builder'

export default function PricingAddonBuilderDemo() {
  return (
    <PricingAddonBuilder
      eyebrow="Pricing"
      heading="Start with the platform. Add what you need."
      baseLabel="Platform"
      baseDescription="Unlimited projects, 5 seats, community support, and API access."
      basePrice={49}
      addons={[
        {
          id: 'sso',
          label: 'SSO & SCIM',
          description: 'SAML/OIDC single sign-on with directory provisioning.',
          price: 29,
        },
        {
          id: 'audit',
          label: 'Audit log export',
          description: '90-day activity trail with CSV and webhook delivery.',
          price: 19,
        },
        {
          id: 'priority',
          label: 'Priority support',
          description: '4-hour response window and a named success engineer.',
          price: 49,
        },
        {
          id: 'regions',
          label: 'Extra data regions',
          description: 'Pin workspaces to EU or APAC residency zones.',
          price: 24,
        },
      ]}
      currency="$"
      billingNote="per month, billed monthly"
      cta={{ label: 'Continue with this plan', href: '#' }}
    />
  )
}

API reference

PricingAddonBuilder accepts the following props.

PropTypeDefaultDescription
eyebrowstring'Pricing'
headingstring'Start with the platform. Add what you need.'
baseLabelstring'Platform'
baseDescriptionstring
basePrice*numberinteger monthly amount for the base plan
addons*PricingAddon[]
currencystring'$'
billingNotestring'per month, billed monthly'
cta{ label: string; href: string }

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

Referenced types

Typestsx
export interface PricingAddon {
  id: string
  label: string
  description?: string
  /** integer monthly amount, whole units only */
  price: number
  /** only preselected when explicitly true */
  defaultChecked?: boolean
}

Frequently asked questions

How do I install the Add-on Builder Pricing component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/pricing-addon-builder`. 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 Add-on Builder Pricing require?

Add-on Builder Pricing 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 Add-on Builder Pricing 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