# `Drafter.Widget.Trait.Collapsible`
[🔗](https://github.com/jaman/drafter/blob/main/lib/drafter/widget/trait/collapsible_trait.ex#L1)

Trait that adds expand/collapse capability.

Manages expanded state and handles toggle events.
Modifies the widget rect in pre_render to show only the header when collapsed.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
