# Contact, bands

- **[Sections](/blocks/)**
- **[Contact](/blocks/contact/)**
- **Contact, bands**

Three full-width bands one after another: a header (label, heading and lead), a tinted band with a picture and caption beside a card of badge, place, address, contact…

## Import

- **CLI**

  ```
  npx shadcn add https://ui.klarhimmel.com/r/contact-bands.json
  ```
- **Import**

  ```
  import Block from '@/components/klarhimmel/blocks/contact-bands';
  ```

Also called

- contact/bands

- **About**: Three full-width bands one after another: a header (label, heading and lead), a tinted band with a picture and caption beside a card of badge, place, address, contact links and three actions, then a band with a short heading beside…
- **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**: Pick it for a location and hours page that reads as three stacked bands: a header, then a tinted band with a picture beside a card of address and contact, then opening hours as ruled rows. For one office only choose `contact-map`; for several places choose `contact-offices`.
- **Writing for it**: - Title up to 120 characters, lead up to 240, place name 80, address 100.
- Hours take one to seven rows with a label of 40 and a time of 40.
- Phone and email are links with a label of 40; leave a label empty to drop an action.
- **Watch out for**: The card carries five contact items, so cut the three actions to one or two when the address and number already say enough. Write times in one format across all rows so the right column lines up.

## Pairs well with

- **[Contact, booking](/blocks/contact/booking)**
- **[FAQ, list](/blocks/faq/accordion)**
- **[Footer, columns](/blocks/footer/link-columns)**

## Usage

The block in a page, with its default content (long lists shortened). Every prop is in the table below.

section.tsx

```
import { Theme } from '@/components/klarhimmel/theme/style';
import { BlockSurface } from '@/components/klarhimmel/blocks/surface';
import ContactBands from '@/components/klarhimmel/blocks/contact-bands';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <ContactBands props={{
          "eyebrow": "Section name",
          "title": "Say where and when the visitor can find you",
          "description": "Say in one or two sentences what the visitor can do here.",
          "media": {
            "src": "/pictures/photo-barber1.avif",
            "alt": "An empty barbershop with chairs and mirrors"
          },
          "caption": "Say what the picture shows",
          "badge": "Label",
          "placeTitle": "Name the place",
          "address": "Give the full address",
          "phone": {
            "label": "Give the number",
            "href": "#phone"
          },
          "email": {
            "label": "Give the address",
            "href": "#email"
          },
          "primary": {
            "label": "Main action",
            "href": "#primary"
          },
          "secondary": {
            "label": "Second action",
            "href": "#secondary"
          },
          "tertiary": {
            "label": "Third action",
            "href": "#tertiary"
          },
          "hoursTitle": "Say what the times below cover",
          "hoursDescription": "Say in one line what the visitor should know before coming.",
          "hours": [
            {
              "label": "Name the first period",
              "time": "Give the times"
            },
            {
              "label": "Name the second period",
              "time": "Give the times"
            }
          ],
          "note": "Say what changes the times, in one line"
        }} />
      </BlockSurface>
    </Theme>
  );
}
```

## 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.

- **eyebrow**: Text, up to 60 characters.
- **title**: Text, up to 120 characters.
- **description**: Text, up to 240 characters.
- **media**: See the type.
- **caption**: Text, up to 100 characters.
- **badge**: Text, up to 24 characters.
- **placeTitle**: Text, up to 80 characters.
- **address**: Text, up to 100 characters.
- **phone**: See the type.
- **email**: See the type.
- **primary**: See the type.
- **secondary**: See the type.
- **tertiary**: See the type.
- **hoursTitle**: Text, up to 80 characters.
- **hoursDescription**: Text, up to 200 characters.
- **hours**: List of 1 to 7. Each item: label, time.
- **note**: Text, up to 160 characters.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/contact/area)

[Next](/blocks/contact/banner-details)
