> 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.

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

**Vertical Align** controls the vertical alignment of the media object relative to other content elements — choose start, 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.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.avonnicomponents.com/experience-cloud/experience-components/ax-media-object.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
