> 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/application-shell.md).

# アプリケーションシェル

Application Shell テーマのレイアウトを使用して、Experience Cloud サイトにヘッダー、サイドパネル、下部パネルを追加し、スマートフォンやタブレットではドロワーになる左側パネルを備えます。

## 概要

その **アプリケーションシェル** これは Experience Cloud サイト用のテーマレイアウトです。標準のヘッダーとフッターからサイトの枠を作る代わりに、各ページのコンテンツの周りに、ヘッダー、左パネル、右パネル、下部パネルを備えた 1 つのレイアウトを使用します。典型的な用途は社内ポータルで、ナビゲーションメニューが左側に固定され、通知フィードが右側にあり、ステータスバーが下部に表示されます。

Experience Builder では、各パネルに Avonni コンポーネントを配置します。たとえば、次のような [**AX - Navigation**](https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/experience-components/ax-navigation.md) 左パネルに。

スマートフォンやタブレットでは、左パネルは非表示になり、ヘッダーのボタンからドロワーとして開きます。そのため、ナビゲーションが小さな画面の幅を占有することはありません。

***

## Application Shell をテーマレイアウトとして使用する

1. Experience Builder で、 **設定** を開き **テーマ**.
2. 新しいテーマレイアウトを作成するか、既存のものを編集して、 **アプリケーションシェル** そのコンポーネントとして選択します。
3. そのテーマレイアウトを使用するページのページプロパティで、割り当てます。
4. キャンバスでレイアウトを選択し、プロパティを設定します（下記参照）。その後、各リージョンにコンポーネントを追加します。

テーマレイアウトの保存がメッセージ "選択したレイアウトを使用するには、次の必須リージョンを追加してください" で失敗する場合、レイアウトに右パネルと下部パネルのリージョンが不足しています。追加してください `rightPanelRegion` および `bottomPanelRegion` をテーマレイアウトに追加し、再度保存してください。これは、次の設定がオフの場合でも存在している必要があります。 **右パネルを表示** および **下部パネルを表示** がオフの場合。

***

## 設定

| プロパティ        | 説明                                          | デフォルト |
| ------------ | ------------------------------------------- | ----- |
| **ヘッダーを表示**  | ページ上部にあるヘッダーリージョンを表示します。                    | オン    |
| **左パネルを表示**  | 左パネルを表示します。                                 | オフ    |
| **右パネルを表示**  | 右パネルを表示します。                                 | オフ    |
| **下部パネルを表示** | 下部パネルを表示します。                                | オフ    |
| **左パネルの幅**   | 左パネルの幅（ピクセル単位）。スマートフォンやタブレットでのドロワーの幅でもあります。 | `250` |
| **右パネルの幅**   | 右パネルの幅（ピクセル単位）。                             | `250` |
| **下部パネルの高さ** | 下部パネルの高さ（ピクセル単位）。                           | `250` |

ページコンテンツは常にパネルの間に残されたスペースを埋め、自身でスクロールするため、ヘッダーとパネルは固定されたままになります。

***

## スマートフォンとタブレットのレイアウト

訪問者がスマートフォンまたはタブレットでサイトを開き、かつ **左パネルを表示** がオンの場合、レイアウトは次のように変わります:

* 左パネルは非表示になります。
* ヘッダーの先頭にメニューボタンが表示されます。
* ボタンを選択すると、左パネルがページの上に重なるドロワーとして開き、背後には暗い背景が表示され、ドロワー上部には閉じるボタンがあります。

訪問者が閉じるボタンを選択する、背景を選択する、Esc キーを押す、または別のページに移動すると、ドロワーは閉じます。もし **左パネルを表示** がオフの場合、メニューボタンは表示されません。

レイアウトは画面の幅ではなく、デバイスの種類に従います。コンピューター上の狭いブラウザーウィンドウでは、デスクトップレイアウトのままです。幅が 800 ピクセル未満では、左パネルと右パネルはページコンテンツの横ではなく、その上に縦に積み重なります。

<figure><img src="https://9391847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDL6JQuZArjJeQvX2ot4y%2Fuploads%2Ffws3ZXhHTuwgXMV5xjzE%2Fexperience-application-shell-phone-drawer.png?alt=media" alt="Phone view of a site with the left panel open as a drawer, its close button at the top and a dark backdrop beside it" width="320"><figcaption><p>スマートフォンでは、左パネルはドロワーとして開きます</p></figcaption></figure>

***

## ヒント

* 作成中にスマートフォンのレイアウトを確認するには、Experience Builder のプレビューを **モバイル** 表示モードに切り替えます。
* サイトのナビゲーションは左パネルに配置してください。スマートフォンでは、そこに配置したナビゲーションはドロワーから表示されます。  **モバイルメニューにアクションを表示** Navigation コンポーネントのオプションは、Navigation 独自のモバイルメニュー用の別設定です。


---

# 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/application-shell.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.
