# Contact, overlay aside

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

A wide picture with the heading laid over its foot beside a narrow ruled card holding the lead, address, phone and email, a one-field form, three actions and a profile…

## Import

- **CLI**

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

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

Also called

- contact/overlay-aside

- **About**: A wide picture with the heading laid over its foot beside a narrow ruled card holding the lead, address, phone and email, a one-field form, three actions and a profile link with the legal line. On a phone the picture sits above the card.
- **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 when a contact section needs one wide picture carrying the heading and a narrow column that holds everything a visitor can do: read the address, type one thing, press a button. For a form with a long message field pick `contact-form`; for a short details card over a picture pick `contact-overlap-card`.
- **Writing for it**: - Heading up to 80 characters, drawn over the picture in about two lines.
- Lead up to 240 characters; one field with a label, a placeholder and a help line.
- Up to three round profile links, each with a name that is read aloud.
- **Watch out for**: The picture is darkened by half so the heading reads, so a pale photo works best. Set the form action and method or the send button does nothing on a live page.

## Pairs well with

- **[Hero, split](/blocks/hero/split)**
- **[Features, grid](/blocks/features/grid)**
- **[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 ContactOverlayAside from '@/components/klarhimmel/blocks/contact-overlay-aside';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <ContactOverlayAside props={{
          "media": {
            "src": "/pictures/photo-wed1.avif",
            "alt": "A timber barn hall dressed with white fabric and tables"
          },
          "eyebrow": "Name the section",
          "title": "Say how a visitor reaches you",
          "description": "Say in one or two sentences when you answer and what to bring up first.",
          "detailsTitle": "Name the place or the team",
          "address": "Give the street and town",
          "phone": {
            "label": "Give the phone number",
            "href": "#phone"
          },
          "email": {
            "label": "Give the email address",
            "href": "#email"
          },
          "fieldLabel": "Name the one thing you ask for",
          "fieldHelp": "Say in a few words how the answer is used.",
          "submit": "Send",
          "primary": {
            "label": "Main action",
            "href": "#start"
          },
          "secondary": {
            "label": "Second action",
            "href": "#contact"
          },
          "textLink": {
            "label": "Name the extra page",
            "href": "#more"
          },
          "profiles": [
            {
              "label": "Name the profile",
              "href": "#profile"
            }
          ],
          "legal": "Say in a few words what applies."
        }} />
      </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.

- **media**: See the type.
- **eyebrow**: Text, up to 60 characters.
- **title**: Text, up to 80 characters.
- **description**: Text, up to 240 characters.
- **detailsTitle**: Text, up to 60 characters.
- **address**: Text, up to 120 characters.
- **phone**: Optional; empty is not rendered.
- **email**: Optional; empty is not rendered.
- **fieldLabel**: Text, up to 60 characters.
- **fieldName**: Text, up to 40 characters. Optional; empty is not rendered.
- **fieldPlaceholder**: Text, up to 80 characters. Optional; empty is not rendered.
- **fieldHelp**: Text, up to 120 characters.
- **submit**: Text, up to 40 characters.
- **primary**: See the type.
- **secondary**: Optional; empty is not rendered.
- **textLink**: Optional; empty is not rendered.
- **profiles**: List of up to 3.
- **legal**: Text, up to 120 characters.
- **action**: Text, up to 300 characters. Optional; empty is not rendered.
- **method**: One of 'post', 'get'. Optional; empty is not rendered.
- **hidden**: Optional; empty is not rendered.
- **captcha**: Optional; empty is not rendered.
- **captchaSitekey**: Text, up to 100 characters. Optional; empty is not rendered.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/contact/overlap-card)

[Next](/blocks/team/departments)
