<details>
element provides a native implementation with the <summary> element acting as the toggle control.
summary and inner content with CSS. Add icons, adjust spacing, and change transitions to fit your design.
details block manages its own state, so you can include as many sections as you like within the same interface.