> For the complete documentation index, see [llms.txt](https://design.mirakl.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://design.mirakl.com/~/changes/DpgERwSwrKIthStzL4D6/components/structure/panel/activable-panel.md). Agents can also search and read this documentation through its [MCP server](https://design.mirakl.com/~gitbook/mcp).

# Activable Panel

<figure><img src="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2FTHXP4sDqiGZ0mzOnzr6F%2FActivable%20Panel%20Hero.png?alt=media&amp;token=10cd1be1-3596-43c6-89a7-9142d84beb4d" alt=""><figcaption></figcaption></figure>

## Overview

Activable panels are used to show or hide features or information depending on a given context.

Activable panels are composed of a title and a[ switch button](https://design.mirakl.com/~/changes/DpgERwSwrKIthStzL4D6/components/actions/switch-button.md) (mandatory).

## Guidelines

2 patterns exist:&#x20;

* Toggling on displays content
* Toggling on hides content

## Content

Activable panel content should follow our [content guidelines](https://design.mirakl.com/~/changes/DpgERwSwrKIthStzL4D6/content/ux-writing-principles.md).&#x20;

Focus on making [Switch Button](https://design.mirakl.com/~/changes/DpgERwSwrKIthStzL4D6/components/actions/switch-button.md) label super clear to make sure users get what they will be activating or not.<br>


---

# 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://design.mirakl.com/~/changes/DpgERwSwrKIthStzL4D6/components/structure/panel/activable-panel.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.
