Skip to main content
Clever Ops

Getting Your Results

What happens after your test, turnaround windows per result type, how the clinic contacts you, and an every-result-is-followed-up promise. A calm React and Tailwind panel for clinics.

Preview & code

Loading Getting Your Results preview

Installation

pnpm dlx shadcn@latest add @cleverui/results-turnaround-panel

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

Usage

tsx
import { ResultsTurnaroundPanel } from '@/components/blocks/results-turnaround-panel'
Exampletsx
'use client'

import { ResultsTurnaroundPanel } from '@/components/blocks/results-turnaround-panel'

export default function ResultsTurnaroundPanelDemo() {
  return (
    <ResultsTurnaroundPanel
      heading="Getting your results"
      intro="Waiting on results is the hardest part, here's exactly what to expect, and how we will contact you."
      items={[
        {
          test: 'Blood tests (routine)',
          turnaround: '1–2 business days',
          note: 'Your GP reviews every result before we contact you.',
        },
        {
          test: 'Urine culture',
          turnaround: '2–3 business days',
        },
        {
          test: 'Skin biopsy / histology',
          turnaround: '5–7 business days',
          note: 'Complex samples can take a little longer, we will tell you if the lab needs more time.',
        },
        {
          test: 'Imaging (X-ray, ultrasound)',
          turnaround: 'Same day to 2 days',
          note: 'Urgent imaging is reported the same day when ordered as such.',
        },
        {
          test: 'Cervical screening',
          turnaround: '7–10 business days',
        },
      ]}
      contactPolicy="We contact every patient about every result, normal or not. If you haven't heard from us within the expected time, please call us rather than assume."
      urgent={{
        note: 'Urgent results are phoned through the same day. Reception can reach the on-call doctor on',
        phone: '(02) 9555 0140',
      }}
    />
  )
}

API reference

ResultsTurnaroundPanel accepts the following props.

PropTypeDefaultDescription
headingstring'Getting your results'
introstringone calming sentence about what to expect while waiting
items*ResultsTurnaroundItem[]
contactPolicystring"We contact every patient about every result, normal or not. If you haven't heard from us within the expected time, please call us rather than assume."honesty line: every result is followed up
urgent{ note: string; phone: string }urgent same-day phone path

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

Referenced types

Typestsx
export interface ResultsTurnaroundItem {
  test: string
  /** preformatted window, e.g. '2-3 business days', never computed */
  turnaround: string
  note?: string
}

Frequently asked questions

How do I install the Getting Your Results component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/results-turnaround-panel`. 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 Getting Your Results require?

Getting Your Results 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 Getting Your Results 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