--- url: /reference/items/Disclosure/anatomy.md --- # Anatomy Each `Disclosure` owns one trigger and one panel. A `DisclosureGroup` is optional and coordinates only the constraints between independently mounted disclosures. ## Structure ``` DisclosureGroup (optional) data-component="DisclosureGroup" └─ Disclosure (× n) data-component="Disclosure" ├─ heading h2–h6 appropriate to the page outline │ └─ trigger button[data-ref="trigger"] └─ panel [data-ref="panel"] ``` ## Parts | Part | Selector | Required | Role | | ---------- | ---------------------------------- | --------------------------------- | -------------------------------------------------------------------------------------------- | | Group | `data-component="DisclosureGroup"` | No | Coordinates multiple/collapsible constraints for its closest registered disclosure children. | | Disclosure | `data-component="Disclosure"` | Yes | Owns state, accessibility attributes, focus handling, and local transitions. | | Heading | Native heading element | Required for an accordion pattern | Gives each disclosure trigger an appropriate place in the document outline. | | Trigger | `button[data-ref="trigger"]` | Yes | Toggles the panel and exposes `aria-expanded` and `aria-controls`. | | Panel | `[data-ref="panel"]` | Yes | Contains the disclosed content and is labelled by the trigger. | Use a native `