> For the complete documentation index, see [llms.txt](https://staylime.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://staylime.com/docs/avante-themes/sections/content-text/collapsible-tabs.md). Agents can also search and read this documentation through its [MCP server](https://staylime.com/docs/~gitbook/mcp).

# Collapsible tabs

An accordion of questions and answers — optional Topic headings to group them, and each answer can come from a Shopify page.

{% hint style="info" %}
**Theme Editor → Add section → Collapsible tabs**
{% endhint %}

{% hint style="warning" %}
This section is template-only. It cannot be added to the Header group or the Footer group — use it on a page, product, collection or other template body.
{% endhint %}

***

### How to add

{% stepper %}
{% step %}
**Add the section**

In the Theme Editor, open the template, click **Add section → Collapsible tabs**.
{% endstep %}

{% step %}
**Add tabs**

Click **Add block → Tab**. The block **Heading** is the closed-row label (the question). Fill in **Text** for the answer, or pick a **Page** to pull that page’s content into the open panel — or use both: the text shows first, then the page content.
{% endstep %}

{% step %}
**Group with topics (optional)**

Add a **Topic** block above a set of tabs when the list needs a subheading — Shipping, Returns, Payment. A Topic is only a heading (plus optional text and button); it does not nest tabs. Order in the block list is the order on the page: put the Topic, then the tabs that belong under it.
{% endstep %}

{% step %}
**Set the section header**

Turn **Show heading**, **Show subheading**, **Show text** and **Show button** on or off as needed. Wrap a word in `{curly brackets}` in a heading to use the Secondary heading style from Theme settings → Typography.
{% endstep %}
{% endstepper %}

***

### Good to know

* **A tab with neither Text nor Page does not render.** Fill at least one of them.
* **Page content updates in one place.** Point several tabs at the same Shopify page (shipping policy, returns) and edit the page once.
* **Topic is not a container.** It is a separate block in the list. Drag tabs to sit under the Topic they belong with.
* **Icon and Image** on a Tab decorate the closed row. Leave **Icon** at **None** for a plain FAQ look.
* **This is not the Collapsible tab block** inside Product details or inside banners. Those live inside another section. This page is the full **Collapsible tabs** section.
* The FAQ page template ships with this section already on it. To build that page from scratch, see How do I create a FAQ page with expandable questions.

***

### Related

* [How do I create a FAQ page with expandable questions](https://staylime.com/docs/avante-themes/faq/pages-and-templates/how-do-i-create-a-faq-page-with-expandable-questions.md)
* [Content / Text](https://staylime.com/docs/avante-themes/sections/content-text.md)
* [Product details](https://staylime.com/docs/avante-themes/sections/products/product-details.md)
* [Common blocks](https://staylime.com/docs/avante-themes/sections/overview.md#common-blocks)


---

# 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://staylime.com/docs/avante-themes/sections/content-text/collapsible-tabs.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.
