# Custom accordions

Bricks Boilerplate comes with a custom accordions that has few extra features comparing to Bricks nestable accordion element.

All the features are controlled via attributes applied to accordion component:

<figure><img src="/files/AHz75DxbzsvagnzcObse" alt=""><figcaption></figcaption></figure>

| Attribute name    | Value                   | Purpose                                                                                                        |
| ----------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------- |
| bt-expand-first   | true/false              | Expand first accordion item on page load                                                                       |
| bt-expand-all     | true/false              | Expand all accordions on page load                                                                             |
| bt-close-siblings | true/false              | Only one accordion open at the same time                                                                       |
| bt-header-scroll  | number (e.g. 767)/false | Set max. viewport (in px) when to apply scroll to accordion header when it is active. Set false to disable it. |
| bt-faq-schema     | true/false              | Enable/turn off FAQ schema                                                                                     |


---

# 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.brickstheme.com/advanced/custom-accordions.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.
