Contact, area served


Install
npx shadcn add https://ui.klarhimmel.com/r/contact-area.jsonDetailsAbout, usage, props and more
Where a business that travels to its customers works: a heading, how far and how fast they come, the town they work from and one call button on one side, the places…
Import
Import
- contact/area
- About
- Where a business that travels to its customers works: a heading, how far and how fast they come, the town they work from and one call button on one side, the places they cover as a ruled list (with a note per place) on the other.
- Category
- A form, a booking panel or office details. The page wires the submit. New project? Set it up once: /get-started/installation.
Notes
When to use it
For a business that goes to its customers (trades, cleaners, mobile services, delivery): how far they travel, where they work from and the places they cover, with one call button. No map picture needed. For a shop people visit use contact-map; for several offices, contact-offices.
Writing for it
- Name the places as the business's own page does, up to 24, each 40 characters. A note (60) holds only what differs for one place: a day, a call-out fee. - The description says distance and speed in their words ('within 20 miles, same day where we can'); never promise a time they did not. - The base is a town or district, never a street address. The action is usually their phone as a tel: link.
Watch out for
Up to six places stand in one column; seven or more flow into two columns, three in a very wide container when no place has a note. Base, description, notes, the closing note and the button each vanish when empty.
Pairs well with
Usage
The block in a page, with its default content (long lists shortened). Every prop is in the table below.
Props
The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.
| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | 'Name the section' | Text, up to 60 characters. |
title | string | 'Say where you work and how far' | Text, up to 120 characters. |
description | string | 'Say in one sentence how far you tra…' | Text, up to 1500 characters. |
base | string | 'Name the town you work from' | Text, up to 80 characters. |
areas | { name, note, href }[] | 8 items | List of 1 to 80. Each item: name, note, href (optional). |
note | string | 'Say what to do when a place is miss…' | Text, up to 200 characters. |
action | Link | {…} | See the type. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |