> 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/fr/creating-content/blocks/tabs.md).

# Onglets

Un bloc d’onglets est un bloc unique avec la possibilité d’ajouter plusieurs onglets.

Chaque onglet peut contenir plusieurs autres blocs, de n’importe quel type. Vous pouvez donc ajouter des blocs de code, des images, des blocs d’intégration et bien plus encore à des onglets individuels dans le même bloc d’onglets.

### Ajouter ou supprimer des onglets

Pour ajouter un nouvel onglet à un bloc d’onglets, survolez le bord d’un onglet et cliquez sur le `+` bouton qui apparaît. Pour supprimer un onglet, ouvrez le **menu Options** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/a8fb7b2b9f8482b7286cc5fc535d675ecfc5a7d9" alt="The Options menu icon in GitBook"></picture> puis sélectionnez **Supprimer**.

### Ajouter, modifier ou supprimer des icônes d’élément d’onglet

Pour définir une icône associée à un onglet, ouvrez le **menu Options** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/a8fb7b2b9f8482b7286cc5fc535d675ecfc5a7d9" alt="The Options menu icon in GitBook"></picture> puis sélectionnez **Définir l’icône**. Sélectionnez l’icône dans un sélecteur d’icônes.

Pour modifier une icône, ouvrez le **menu Options** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/a8fb7b2b9f8482b7286cc5fc535d675ecfc5a7d9" alt="The Options menu icon in GitBook"></picture> puis sélectionnez **Modifier l’icône**. Ensuite, sélectionnez l’icône dans un sélecteur d’icônes.

Pour supprimer une icône, ouvrez le **menu Options** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/a8fb7b2b9f8482b7286cc5fc535d675ecfc5a7d9" alt="The Options menu icon in GitBook"></picture> puis sélectionnez **Supprimer l’icône**.

### Exemple

Voici un exemple qui répertorie des instructions pertinentes pour des plateformes spécifiques :

{% tabs %}
{% tab title="Windows" icon="windows" %}
Voici les instructions pour Windows
{% endtab %}

{% tab title="macOS" icon="apple" %}
Voici les instructions pour macOS
{% endtab %}

{% tab title="Linux" icon="linux" %}
Voici les instructions pour Linux
{% endtab %}
{% endtabs %}

### Représentation en Markdown

```markdown
{% tabs %}

{% tab title="Windows" icon="windows" %} Voici les instructions pour Windows {% endtab %}

{% tab title="macOS" icon="apple" %} Voici les instructions pour macOS {% endtab %}

{% tab title="Linux" icon="linux" %} Voici les instructions pour 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/fr/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.
