> For the complete documentation index, see [llms.txt](https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.com/docs/documentation/ja-gitbook-documentation/creating-content/blocks/tabs.md).

# タブ

タブブロックは、複数のタブを追加できる単一のブロックです。

各タブには、任意の種類の他のブロックを複数含めることができます。そのため、同じタブブロック内の個々のタブにコードブロック、画像、連携ブロックなどを追加できます。

### タブを追加または削除する

タブブロックに新しいタブを追加するには、タブの端にカーソルを合わせて、表示される `+` ボタンをクリックします。タブを削除するには、タブの **オプションメニュー** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/ce0e0a07ded643c4e219bbfe214239e291d0c7a1" alt="The Options menu icon in GitBook"></picture> を開いてから **削除**.

### タブ項目のアイコンを追加、変更、または削除する

タブに関連付けられたアイコンを設定するには、タブの **オプションメニュー** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/ce0e0a07ded643c4e219bbfe214239e291d0c7a1" alt="The Options menu icon in GitBook"></picture> を開いてから **アイコンを設定**を開きます。アイコンピッカーからアイコンを選択します。

アイコンを変更するには、タブの **オプションメニュー** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/ce0e0a07ded643c4e219bbfe214239e291d0c7a1" alt="The Options menu icon in GitBook"></picture> を開いてから **アイコンを変更**を開きます。次に、アイコンピッカーからアイコンを選択します。

アイコンを削除するには、タブの **オプションメニュー** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/ce0e0a07ded643c4e219bbfe214239e291d0c7a1" alt="The Options menu icon in GitBook"></picture> を開いてから **アイコンを削除**.

### 例

以下は、特定のプラットフォームに関連する手順を一覧表示する例です:

{% tabs %}
{% tab title="Windows" icon="windows" %}
こちらがWindows向けの手順です
{% endtab %}

{% tab title="macOS" icon="apple" %}
こちらがmacOS向けの手順です
{% endtab %}

{% tab title="Linux" icon="linux" %}
こちらがLinux向けの手順です
{% endtab %}
{% endtabs %}

### Markdownでの表記

```markdown
{% tabs %}

{% tab title="Windows" icon="windows" %} こちらがWindows向けの手順です {% endtab %}

{% tab title="macOS" icon="apple" %} こちらがmacOS向けの手順です {% endtab %}

{% tab title="Linux" icon="linux" %} こちらがLinux向けの手順です {% endtab %}

{% endtabs %}
```


---

# 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:

```
GET https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.com/docs/documentation/ja-gitbook-documentation/creating-content/blocks/tabs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
