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

# AX - メディアオブジェクト

## 概要

**AX - メディアオブジェクト** は、Experience Sites ページ上で、画像、アイコン、またはアバターをテキストコンテンツの横に水平レイアウトで表示する Experience Cloud コンポーネントです。

ユーザープロファイル、製品一覧、通知項目、または視覚要素と説明文を組み合わせるあらゆるコンテンツに、一貫したレイアウトを作成するために使用します。メディア要素はテキストコンテンツと揃ったまま表示され、すっきりと見やすい形式になります。

ユーザーディレクトリ、商品カード、アクティビティフィード、リソース一覧、またはポータルで画像とテキストを構造化された繰り返し可能なレイアウトパターンで組み合わせる必要があるあらゆる場面に最適です。

{% hint style="danger" %}
このコンポーネントは [スロットを活用します](https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/hajimeni/learning-the-basics.md#understanding-slots) 高度なカスタマイズに対応しているため、LWR サイトに最適です。Aura サイトでは、このレベルのカスタマイズはサポートされていません。
{% endhint %}

{% hint style="info" %}
**実際のプロジェクトで見る**

[Contact ローカル天気](https://docs.avonnicomponents.com/projects/use-cases/outside-data/contact-local-weather)：Contact レコード上で、外部 API から取得したリアルタイムの天気を表示します。
{% endhint %}

## 設定

メディア要素（画像、アイコン、またはアバター）を figure スロットに、テキストを content スロットに配置します。figure-inverse スロットを使うと、メディアをコンテンツの前ではなく後ろに配置できます。

### プロパティ

**インライン** メディアオブジェクトを他のコンテンツ要素と水平に配置できます。オンにするとメディアをインライン表示し、横方向の流れを促進してスペースをより有効に活用できます。既定ではオフです。

**レスポンシブ** メディアオブジェクトがさまざまなデバイスサイズや画面解像度に自然に適応し、鮮明さと比率を保ちながら、シームレスな閲覧体験を実現します。既定ではオフです。

**縦方向の配置** 他のコンテンツ要素に対するメディアオブジェクトの縦方向の配置を制御します。次から選択してください **開始** （既定）、 **中央**、または **末尾** として、隣接するコンテンツと完全に揃うようにします。

**サイズ** メディアオブジェクトのサイズを調整し、全体のコンテンツレイアウトに自然に収まるようにします。周囲のコンテンツを目立たせるのではなく、引き立てる役割を果たします。次から選択してください **小**, **中** （既定）、または **大**.


---

# 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-cloud-ja/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.
