> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/experience-cloud/tutorials/use-cases/building-a-record-detail-page-header.md). Agents can also search and read this documentation through its [MCP server](https://docs.avonnicomponents.com/~gitbook/mcp).

# Building a record detail page header

## Overview

This tutorial will construct a record page header for an Experience Cloud site by integrating various components, including both Standard and Avonni types. The following components will be used:

* [Avonni Container](https://docs.avonnicomponents.com/experience-cloud/experience-components/ax-container.md)
* [Avonni Media Object](https://docs.avonnicomponents.com/experience-cloud/experience-components/ax-media-object.md)
* [Avonni Avatar](https://docs.avonnicomponents.com/experience-cloud/experience-components/ax-avatar.md)
* Rich Content Editor

<details>

<summary>Why Use These Components?</summary>

#### Avonni Container

* **Purpose:** The Avonni Container will act as the foundational element of our header. It provides a structured and customizable space for all other components.
* **Why Use It:** It’s essential for maintaining a clean layout and can be styled to align with the site’s branding, ensuring a consistent look and feel. The container will encapsulate the media object, avatar, and rich content in a cohesive unit.

#### Avonni Media Object

* **Purpose:** This component displays media next to a content block, typically an image or video alongside text.
* **Why Use It:** In the header, the Avonni Media Object can elegantly display a relevant image or icon next to the record's primary information, such as a product image next to its description. This pairing of media with content enhances visual engagement and provides immediate context to the users.

#### Avonni Avatar

* **Purpose:** Avonni Avatar displays a user or entity image, which can represent a person, a company, or any other entity.
* **Why Use It:** In the header, the avatar can visually represent the record’s subject, such as showing a user profile picture for a contact record. It adds a personal touch and makes the header more relatable and visually appealing.

#### Rich Content Editor

* **Purpose:** The Rich Content Editor allows for creating and editing rich text content, including various formatting options.
* **Why Use It:** This component can be used in the header to provide detailed information about the record in a formatted and user-friendly manner. It offers flexibility in how the text is presented, whether a brief description, contact information, or any other relevant data about the record.

</details>

<figure><img src="https://2929066058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDL6JQuZArjJeQvX2ot4y%2Fuploads%2Fgit-blob-561f64fa4d68233bcc123293ff898fe1ce704e21%2F2023-11-17_05-54-39.png?alt=media" alt=""><figcaption><p>Final Result</p></figcaption></figure>

## Interactive Step-by-Step Configuration Guide

{% @arcade/embed url="<https://app.arcade.software/share/WSIrtqDu3Qz8KKpXTMmz>" flowId="WSIrtqDu3Qz8KKpXTMmz" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/experience-cloud/tutorials/use-cases/building-a-record-detail-page-header.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
