# 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="https://577283513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3MMybclNPfdZUpnUggUT%2Fuploads%2FNdjx5mZZNm377Y9qA5Q5%2Fimage.png?alt=media&#x26;token=29b41d50-6812-4457-992d-6d39eb721684" 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                                                                                     |
