Build an accordion component with Alpine.js

1 · Michael Burrows · Nov. 30, 2021, 10:21 p.m.
In this tutorial we’ll be using Alpine.js to build an accordion component. Accordions or collapsible panels as they’re also known are used to hide and show large amounts of content by clicking a heading. Please note, to keep this tutorial Alpine focused I’ve used the Tailwind CSS framework but it could easily be converted to […]...