This widget uses the native <details> and <summary> HTML elements. It requires zero JavaScript to function and is semantic and accessible by default.
This widget is controlled by a simple JavaScript event listener. It toggles a display property or a class on this content container. This approach offers more animation control.