# Contact, channels

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

Two to four ways to reach you as cards: an icon, the channel name, who it is for, the address or number as a link, and how fast you answer.

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/contact-channels
  ```
- **Import**

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

Also called

- contact/channels

- **About**: Two to four ways to reach you as cards: an icon, the channel name, who it is for, the address or number as a link, and how fast you answer. For support pages and anywhere "contact us" is really a choice.
- **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**: Two to four ways to reach you as cards, each with an icon, a name, who it is for, the address as a link and a reply time. Use `contact-form` when you want people to write a message here and now.
- **Writing for it**: - Each channel needs a name (30) and a value (60); the detail (100) is the place to say who should use it, such as 'For urgent faults'.
- The response (40) is a small line at the bottom of the card. Give a real number like 'Within one working day'.
- The value is shown as the link text and wraps anywhere in a long address, so type the exact email or number, not a description.
- **Watch out for**: Every card links with its href, which is not checked against its value, so a mailto href must be written out yourself. The grid is 2 columns at @2xl and 3 or 4 only when the container is wide enough, so four cards can appear as two rows of two.

## Pairs well with

- **[FAQ, with a support card](/blocks/faq/support)**
- **[Contact, offices](/blocks/contact/offices)**
- **[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 ContactChannels from '@/components/klarhimmel/blocks/contact-channels';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <ContactChannels props={{
          "eyebrow": "Name the section",
          "title": "Say that they can pick a channel",
          "description": "Say in one sentence who answers and how fast.",
          "channels": [
            {
              "icon": "mail",
              "name": "Channel one",
              "detail": "Say what this channel suits, in one line.",
              "value": "you@company.example",
              "href": "mailto:you@company.example",
              "response": "Say how fast you reply"
            },
            {
              "icon": "users",
              "name": "Channel two",
              "detail": "Say what this channel suits, in one line.",
              "value": "Say how to start",
              "href": "#chat",
              "response": "Say how fast you reply"
            },
            {
              "icon": "clock",
              "name": "Channel three",
              "detail": "Say what this channel suits, in one line.",
              "value": "+00 00 000 00 00",
              "href": "tel:+46310000000",
              "response": "Say when you answer"
            }
          ]
        }} />
      </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 300 characters.
- **channels**: List of 2 to 4. Each item: icon ('zap' | 'shield' | 'layers' | 'globe' | 'sparkles' | 'clock' | 'code' | 'palette' | 'lock' | 'chart' | 'users' | 'mail' | 'heart' | 'rocket' | 'search' | 'settings' | 'check' | 'star' | 'book' | 'box' | 'cloud' | 'compass' | 'leaf' | 'gauge'), name, detail, value, href, response.
- **align**: One of 'left', 'center'. Optional; empty is not rendered.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/contact/booking-link)

[Next](/blocks/contact/form)
