Collapsible
Expand/collapse section using native <details>.
Live
What is this?
A collapsible section using native <details>. The browser handles open/close; the headless-disclosure module adds keyboard support via data-hui-disclosure.
Is it accessible?
Yes. Escape to close, aria-expanded mirroring, all handled automatically.
Example
ui.Collapsible(
ui.CollapsibleConfig{Summary: "What is this?"},
render.Text("Body shown when expanded."),
)