Details Tags Are A Controllable Component
HTML has a lovely, but little-used tag for summarizing a set of collapsed details. These details can be expanded and recollapsed by clicking the summary. This is the <details>
tag and it can be controlled with the open
prop and onToggle
handler.
Last updated