> For the complete documentation index, see [llms.txt](https://docs.ultramarinastudios.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ultramarinastudios.com/sections/collapsible-content.md).

# Collapsible content

Collapsible content allows you to create a list of expandable elements.

This section is useful for breaking content down into easy-to-summarize blocks, such as for a **Frequently Asked Questions** page or for product details.

<figure><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2FfXK9mankxUrrReQaVPNI%2FPrimavera%20Precision%20%C2%B7%20Customize%20primavera-1-0-0%20%5BTHEME%20BLOCKS%20DEV%5D%20%C2%B7%20Shopify%202025-04-01%20at%206.17.45%20pm.jpg?alt=media&amp;token=df81c8f2-543a-4681-89ee-e7ed1a8e8624" alt=""><figcaption></figcaption></figure>

The section comes preloaded with [heading](https://docs.ultramarinastudios.com/blocks/heading.md), [text](https://docs.ultramarinastudios.com/blocks/text.md) and [collapsible](https://docs.ultramarinastudios.com/blocks/collapsible.md) blocks, but all [theme blocks](https://docs.ultramarinastudios.com/blocks.md) are available to add both at the top level *and* nest within the collapsible blocks themselves.

{% hint style="info" %}
Can't find the setting you're looking for?  The following settings are explained in detail in [common settings](https://docs.ultramarinastudios.com/common-settings.md).

* Horizontal alignment
* Section header
* Color scheme/Color scheme transition
* Section padding
  {% endhint %}

### Similar sections

Collapsible content can also be presented in parallel with other blocks by using these sections

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>In this <a href="https://docs.ultramarinastudios.com/sections/split-banner.md">split banner</a>, collapsible content is presented next to an image banner for a full bleed effect. </td><td><a href="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2FREfCbgUfBDNXVlGdb1Km%2Fsplit-banner-savoir.webp?alt=media&amp;token=97060909-6e0c-4ba1-a04f-2823d4d54305">split-banner-savoir.webp</a></td></tr><tr><td>In this <a href="https://docs.ultramarinastudios.com/sections/split-card.md">split card</a>, collapsible content is presented next to a shoppable banner with video in order to highlight the features of a specific product.</td><td><a href="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2FY5TbIBarBGSXyx4ZqB3L%2Fsplit-card-gloss.webp?alt=media&amp;token=691fe64a-b4ce-4db4-a0b2-3575ed0b01a8">split-card-gloss.webp</a></td></tr></tbody></table>


---

# 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.ultramarinastudios.com/sections/collapsible-content.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.
