Skip to main content
Clever Ops

How Booking Works

How booking works in three or four numbered steps, plain reassuring language, near-still motion, and practical notes like bring your Medicare card. Calm from first click to consult.

Preview & code

Loading How Booking Works preview

Installation

pnpm dlx shadcn@latest add @cleverui/appointment-steps

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

Usage

tsx
import { AppointmentSteps } from '@/components/blocks/appointment-steps'
Exampletsx
'use client'

import { AppointmentSteps } from '@/components/blocks/appointment-steps'

export default function AppointmentStepsDemo() {
  return (
    <AppointmentSteps
      heading="How booking works"
      intro="New patients are always welcome. Most first visits take about 20 minutes, no rush, no surprise fees."
      steps={[
        {
          title: 'Choose a time online',
          description:
            'Pick a doctor and a slot that suits you. Same-day appointments open at 7:30 am on weekdays.',
          note: 'Have your Medicare card ready if you have one, it is not required to book.',
        },
        {
          title: 'We send a confirmation',
          description:
            'You will get an SMS with the time, clinic address, and a short intake form. Reply if you need to change anything.',
        },
        {
          title: 'Arrive a few minutes early',
          description:
            'Check in at reception on Gordon Street. If this is your first visit, we will take a brief medical history before you see the doctor.',
          note: 'Bring your Medicare card and any referral letters or recent results.',
        },
        {
          title: 'See your practitioner',
          description:
            'Your consult is private and unhurried. If you need a follow-up, we can book it before you leave.',
        },
      ]}
      cta={{ label: 'Book your first visit', href: '#book' }}
    />
  )
}

API reference

AppointmentSteps accepts the following props.

PropTypeDefaultDescription
headingstring'How booking works'
introstringone calming sentence, e.g. 'New patients are always welcome'
steps*AppointmentStep[]3–4 ordered steps; order is real content
cta{ label: string; href: string }closing action, the block's single accent

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

Referenced types

Typestsx
export interface AppointmentStep {
  title: string
  description: string
  /** practical reassurance, e.g. 'Bring your Medicare card and any referral letters' */
  note?: string
}

Frequently asked questions

How do I install the How Booking Works component?

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

How Booking Works 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 How Booking Works 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