None of this has a class on it
The markup below is exactly what you would write without a library at all.
<dialog>, <details>,
[popover] and <progress> are doing the work,
and none of them needs a line of JavaScript from us.
And this is the accordion
One <details> element. It works with JavaScript off, it
prints, and find-in-page can open it.
Adding name makes them exclusive
Opening this one closes the other. No library involved.