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

# Collapsible content

### Section overview

The Collapsible content section displays a list of collapsible content blocks that can be expanded and collapsed by users. It provides an interactive way to present information in a space-efficient manner.

#### Common use cases

* Frequently Asked Questions (FAQs)
* Product information and specifications
* Shipping and return policies
* Service descriptions or features lists

#### Usage tips

* Keep accordion titles concise and descriptive so users understand what content to expect
* Limit the amount of content within each accordion to prevent overwhelming scrolling when expanded
* Consider using icons to visually enhance the accordions and improve user experience
* Mobile responsiveness is automatically handled, but consider setting visibility options for different devices if needed

### Section settings

| Setting              | Description                                                                    |
| -------------------- | ------------------------------------------------------------------------------ |
| Heading              | Main section heading displayed above the accordions                            |
| Content              | Descriptive text displayed below the heading                                   |
| Button label         | Text to display on the optional button                                         |
| Button URL           | Link destination for the optional button                                       |
| Spacing top          | Controls the top padding of the section (0-300px)                              |
| Spacing bottom       | Controls the bottom padding of the section (0-300px)                           |
| Color scheme         | Sets the background and text color combination                                 |
| Border color         | Sets the color for any borders (subtle or strong)                              |
| Button color         | Sets the style and color scheme for the button                                 |
| Border position      | Determines where section borders appear (none, top, bottom, or both)           |
| Horizontal alignment | Controls the alignment of section content (left, center, or right)             |
| Visibility           | Controls section visibility across devices (all, mobile only, or desktop only) |

### Block settings

Collapsible content

The block creates a collapsible content area with a title button that expands to reveal the content. Each section can have up to 50 accordion blocks.

| Setting | Description                                               |
| ------- | --------------------------------------------------------- |
| Title   | Heading text displayed on the accordion button            |
| Content | Rich text content revealed when the accordion is expanded |
| Icon    | Optional icon displayed alongside the accordion title     |


---

# 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://help.brickspacelab.com/paper/sections/content-and-media/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.
