# Contact, mosaic tiles

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

Five tiles in a mosaic: a heading card, a tinted band of actions beneath it, a tall captioned picture beside both, then an opening-hours card and a wider details card…

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/contact-mosaic-tiles
  ```
- **Import**

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

Also called

- contact/mosaic-tiles

- **About**: Five tiles in a mosaic: a heading card, a tinted band of actions beneath it, a tall captioned picture beside both, then an opening-hours card and a wider details card with a picture. On a phone the tiles stack in one column.
- **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 visit page with several small facts: a heading card, one tinted band of actions, a captioned picture, opening hours and a details card, all as tiles. For one plain details row choose `contact-banner-details`.
- **Writing for it**: - Title up to 100 characters, lead up to 240; two buttons and one quiet link, each label up to 40 characters.
- One to seven hours rows; address up to 120 characters, phone up to 40, email up to 80.
- **Watch out for**: Two pictures are needed, a tall one and a small upright one; leave either empty only while drafting. The tiles stack in one column below about 56 rem.

## Pairs well with

- **[FAQ, list](/blocks/faq/accordion)**
- **[Call to action, band](/blocks/cta/banner)**
- **[Gallery, grid](/blocks/gallery/grid)**

## 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 ContactMosaicTiles from '@/components/klarhimmel/blocks/contact-mosaic-tiles';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <ContactMosaicTiles props={{
          "eyebrow": "Name the section",
          "title": "Say how a visitor reaches you",
          "description": "Say in one line when you answer.",
          "primary": {
            "label": "Main action",
            "href": "#start"
          },
          "secondary": {
            "label": "Second action",
            "href": "#contact"
          },
          "textLink": {
            "label": "Name the extra page",
            "href": "#more"
          },
          "media": {
            "src": "/pictures/photo-wood3.avif",
            "alt": "A workbench with hand tools on the wall"
          },
          "caption": "Say what the picture shows.",
          "hoursTitle": "Name the hours block",
          "hours": [
            {
              "day": "Name the days",
              "time": "Name the times"
            },
            {
              "day": "Name the days",
              "time": "Name the times"
            }
          ],
          "detailsTitle": "Name the contact block",
          "address": "Give the street and town",
          "phone": "Give the phone number",
          "email": "Give the email address",
          "profile": {
            "label": "Name the profile",
            "href": "#profile"
          },
          "detailsMedia": {
            "src": "/pictures/photo-bakery1.avif",
            "alt": "A bakery counter with loaves and pastries behind glass"
          }
        }} />
      </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 100 characters.
- **description**: Text, up to 240 characters.
- **primary**: See the type.
- **secondary**: Optional; empty is not rendered.
- **textLink**: Optional; empty is not rendered.
- **media**: See the type.
- **caption**: Text, up to 120 characters.
- **hoursTitle**: Text, up to 60 characters.
- **hours**: List of 1 to 7. Each item: day, time.
- **detailsTitle**: Text, up to 60 characters.
- **address**: Text, up to 120 characters.
- **phone**: Text, up to 40 characters.
- **email**: Text, up to 80 characters.
- **profile**: Optional; empty is not rendered.
- **detailsMedia**: See the type.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/contact/minimal)

[Next](/blocks/contact/offices)
