Collapse

Create versatile collapsible content areas anywhere in your Help Center.

About the plugin

The Collapse plugin, as the name suggests, allows you to create collapsible sections of content anywhere in your Help Center. Each collapsible section comprises the collapsible content area as well as one or more triggers which, when clicked, show or hide the content.

You can use these elements for almost anything. Our themes use the Collapse plugin to show and hide the primary navigation menu on mobile devices.

Examples

The Collapse plugin forms the foundation of our Toggles plugin, which allows you to transform static lists within article content into interactive toggles.

Learn more about how to use and customize collapsible sections in our framework documentation, which also includes a description of the plugin’s options and events.

Related plugins