Skip to main content
Clever Ops

Quote Banner

A get-a-quote block built the way tradies win work, phone number first and huge, a response-time promise, and a three-line job form. No friction, no fluff.

Preview & code

Loading Quote Banner preview

Installation

pnpm dlx shadcn@latest add @cleverui/trade-quote-banner

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

Usage

tsx
import { TradeQuoteBanner } from '@/components/blocks/trade-quote-banner'
Exampletsx
import { TradeQuoteBanner } from '@/components/blocks/trade-quote-banner'

export default function TradeQuoteBannerDemo() {
  return (
    <div className="mx-auto max-w-5xl px-4 py-6 sm:px-6">
      <TradeQuoteBanner
        heading="Need a plumber today?"
        phone="1300 482 771"
        promise="We answer before the second ring, 7am–6pm."
        checklist={[
          'Licensed & fully insured',
          'Same-day callouts across the inner north',
          'Upfront price before we start',
          'No call-out fee if we do the job',
        ]}
        form={{ buttonLabel: 'Send job details' }}
      />
    </div>
  )
}

API reference

TradeQuoteBanner accepts the following props.

PropTypeDefaultDescription
heading*string
phone*stringrendered huge, tap-to-call on mobile via tel: href
promisestring'We answer before the second ring, 7am–6pm.'trust line under the phone
checkliststring[]3–4 assurance points
formTradeQuoteFormminimal three-field job form; omit to render phone-only

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

Referenced types

Typestsx
export interface TradeQuoteForm {
  onSubmit?: (data: { name: string; suburb: string; job: string }) => void
  buttonLabel?: string
}

Frequently asked questions

How do I install the Quote Banner 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-quote-banner`. 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 Quote Banner require?

Quote Banner 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 Quote Banner 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