UNPKG

materialuiupgraded

Version:

Material-UI's workspace package

27 lines (15 loc) 1.02 kB
--- title: Expansion Panel React component components: ExpansionPanel, ExpansionPanelActions, ExpansionPanelDetails, ExpansionPanelSummary --- # Expansion Panel <p class="description">Expansion panels contain creation flows and allow lightweight editing of an element.</p> [An expansion panel](https://material.io/archive/guidelines/components/expansion-panels.html) is a lightweight container that may either stand alone or be connected to a larger surface, such as a card. ## Simple Expansion Panel {{"demo": "pages/demos/expansion-panels/SimpleExpansionPanel.js"}} ## Secondary heading and Columns Multiple columns can be used to structure the content, and a helper text may be added to the panel to assist the user. {{"demo": "pages/demos/expansion-panels/DetailedExpansionPanel.js"}} ## Controlled Accordion Extend the default panel behavior to create an accordion with the `ExpansionPanel` component. {{"demo": "pages/demos/expansion-panels/ControlledExpansionPanels.js"}}