Skip to main content
Clever Ops

Service Area Strip

Where-we-work as a confident strip, radius statement, suburb chips grouped by zone, and a same-day badge for the home patch. Local SEO structure built in.

Preview & code

Loading Service Area Strip preview

Installation

pnpm dlx shadcn@latest add @cleverui/trade-service-area

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

Usage

tsx
import { TradeServiceArea } from '@/components/blocks/trade-service-area'
Exampletsx
import { TradeServiceArea } from '@/components/blocks/trade-service-area'

export default function TradeServiceAreaDemo() {
  return (
    <div className="mx-auto max-w-6xl px-4 py-6 sm:px-6">
      <TradeServiceArea
        heading="Where we work"
        statement="Everything inside 25km of Brunswick, usually same day."
        zones={[
          {
            label: 'Home patch',
            sameDay: true,
            suburbs: [
              'Brunswick',
              'Brunswick East',
              'Coburg',
              'Thornbury',
              'Northcote',
              'Preston',
            ],
          },
          {
            label: 'Inner north',
            sameDay: true,
            suburbs: [
              'Fitzroy',
              'Carlton',
              'Parkville',
              'Reservoir',
              'Pascoe Vale',
              'Essendon',
            ],
          },
          {
            label: 'Extended',
            suburbs: [
              'Heidelberg',
              'Ivanhoe',
              'Kew',
              'Footscray',
              'Moonee Ponds',
              'Airport West',
            ],
          },
        ]}
        note="Outside 25km? Call anyway, we take jobs out to Sunbury and Whittlesea when the diary allows, usually next day."
      />
    </div>
  )
}

API reference

TradeServiceArea accepts the following props.

PropTypeDefaultDescription
headingstring'Where we work'
statement*stringe.g. "Everything inside 25km of Brunswick, usually same day."
zones*TradeServiceZone[]grouped coverage; sameDay zones get the badge
notestringoutside-area line

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

Referenced types

Typestsx
export interface TradeServiceZone {
  label: string
  sameDay?: boolean
  suburbs: string[]
}

Frequently asked questions

How do I install the Service Area Strip 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-service-area`. 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 Service Area Strip require?

Service Area Strip 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 Service Area Strip 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