Simple accordion for adding collapse elements to pages without affecting page load time. Includes Gutenberg block and shortcode for classic editor.
As of April 2026, Lightweight Accordion is a WordPress block plugin with 10K+ active installations and a 5/5 rating from 60 reviews. It has been downloaded 112K+ times in total. Requires WordPress 5.0+ and PHP 7.0+. Available on WordPress.org since 2020. Download volume is stable this week. Top alternative: Spectra Gutenberg Blocks – Website….
Lightweight Accordion plugin for WordPress allows you to add collapse elements to posts using a Gutenberg block or a shortcode (via classic editor). By using the details HTML tag and a few lines of CSS this allows for a javascript-free accordion for minimum page load.
Extremely Lightweight (<1kb): Without using Javascript the plugin uses the native details HTML tag and a few lines of code for almost no impact on front-end.
Customizable: Options include customizing the HTML tag used for the accordion title, open by default, borders, colors, and accordion grouping (auto-close others when one opens).
Here are a few examples of using the accordion plugin with shortcodes.
[lightweight-accordion title="My Accordion"]My Content[/lightweight-accordion]
Additionally…
I greatly appreciate this plugin. It has helped me increase the screen real-estate on my web pages by collapsing the help/information parts.
Lightweight plug-ins which don’t slow down WordPress are to be commended.
I tried the built-in WordPress accordion element, but on my iPhone it could not be expanded.
Simple, lightweight plugin that does exactly what it promises. Clean UI, no unnecessary options. Great job!
And easy to work with. Thanks
will be interesting to see how this works with over 100 entries
Great versatile block! Simple and efficient.
Thanks Andy
| WordPress | 5.0+ requiredTested up to 6.9.4 |
| PHP | 7.0+ required |
group attribute for shortcodes to enable exclusive accordion behavior.wp-editor script dependency.…and 2 more changes
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.