
A collapsible accordion container that provides an expandable/collapsible content area with a header button. Uses Alpine.js for toggle functionality and includes smooth animations when enabled.
The following blocks can be nested within this block:
| Setting | Description | Options |
|---|---|---|
| Show advanced settings | Reveals enable pre-opened, enable single open, and visibility | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Enable internal padding | Adds internal padding to the accordion content | Checkbox (default: true) |
| Enable horizontal padding | Adds horizontal padding around the accordion | Checkbox (default: false) |
| Enable top padding | Adds top padding around the accordion | Checkbox (default: false) |
| Enable bottom padding | Adds bottom padding around the accordion | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Color scheme | Controls the background and text colors | • Body (default) |
| Color border | Controls the border color | • Body |
| Setting | Description | Options |
|---|---|---|
| Border position | Controls where borders appear | • None (default) |
| Setting | Description | Options |
|---|---|---|
| Enable pre opened | Opens the accordion by default | Checkbox (default: false) Visible when Show advanced settings is on |
| Enable single open | Allows only one accordion item to be open at a time | Checkbox (default: false) Visible when Show advanced settings is on |
| Visibility | Controls when the block is visible | • All (default) Visible when Show advanced settings is on |
Start by connecting your source repository and choosing the pages you want to publish.
You can then browse your documentation and ask questions about the content your team has shared.