> 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/experience-components/ax-media-object.md).

# AX - Media Object

## Overview

**AX - Media Object** is an Experience Cloud component that displays an image, icon, or avatar alongside text content in a horizontal layout on Experience Sites pages.

Use it to create consistent layouts for user profiles, product listings, notification items, or any content combining a visual element with descriptive text. The media element stays aligned with the text content, creating a clean, scannable format.

Perfect for user directories, product cards, activity feeds, resource lists, or anywhere your portal needs to pair images with text in a structured, repeatable layout pattern.

{% hint style="danger" %}
This component [leverages slots](/experience-cloud/getting-started/learning-the-basics.md#understanding-slots) for advanced customization, making it ideal for LWR sites. Aura sites do not support this level of customization.
{% endhint %}

{% hint style="info" %}
**See it in a real project**

[Contact Local Weather](https://docs.avonnicomponents.com/projects/use-cases/outside-data/contact-local-weather): Live weather from an external API, on the Contact record.
{% endhint %}

## Configuration

Drop a media element (image, icon, or avatar) into the figure slot and your text into the content slot; use the figure-inverse slot to place the media after the content instead of before it.

### Properties

**Inline** allows the horizontal alignment of the media object with other content elements — enable it to display the media inline, facilitating a horizontal flow and better use of space. Off by default.

**Responsive** ensures the media object adapts gracefully across different device sizes and screen resolutions, maintaining its clarity and proportion for a seamless viewing experience. Off by default.

**Vertical Align** controls the vertical alignment of the media object relative to other content elements — choose **Start** (default), **Center**, or **End** so it aligns perfectly with adjacent content.

**Size** adjusts the size of the media object so it fits seamlessly within the overall content layout, complementing rather than overshadowing the surrounding content — choose **Small**, **Medium** (default), or **Large**.


---

# 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/experience-components/ax-media-object.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.
