I don't know if I'd say it has "this case covered" since there's no way to animate the open/close which a lot of clients -- and artists under the delusion they know what design is -- jones for.
But that's why enhancing the correct (details/summary) markup with scripting is the right approach. The worst that happens scripting or CSS blocked is that it reverts to the default behavior without animation.
Animating them is kind of a wonk, as you basically have to intercept the SUMMARY's click / state change forcing it to stay open all the time, whilst then tracking the animation separately.
See this demo I made whilst calling flowbite incompetent idiotic rubbish.