# Collapse

The Collapse component enhances your application's user experience by allowing users to show and hide sections on a page. The Collapse component helps to organize and split the page contexts into separate partitions with the ability to minimize and maximize those sections.&#x20;

<div align="left"><figure><img src="/files/sOqHBbDEbg360g3vNLlr" alt=""><figcaption></figcaption></figure></div>

**Opened/Closed Indicator**: Include visual indicators to show whether a section is opened or closed. These indicators enhance user experience by providing clear, immediate feedback on the state of each section, making it easy to navigate through the content.

<div align="left"><figure><img src="/files/EqnyO8eEYBtYnPoLsKF7" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: 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://docs.jetadmin.io/user-guide/design-and-structure/components/layouts/collapse.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.
