IExpansionPanelsProps
interface
Components
Props for the expansion-panels container — controls layout (flat, accordion, popout, inset), icon overrides, and inherits color, density, border, rounded, elevation, lazy and active surfaces.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- flatboolean
- Remove the default elevation from every child panel.
- itemsArray<IExpansionPanelProps>
- Declarative items array — each entry maps to an IExpansionPanelProps object.
- accordionboolean
- Allow only one panel to be open at a time (accordion mode).
- popoutboolean
- Expand the open panel to a larger width than its siblings.
- insetboolean
- Reduce the open panel width to create an inset effect.
- expandIconTIcon
- Override the default expand chevron icon.
- collapseIconTIcon
- Override the default collapse chevron icon.
- hideActionsboolean
- Hide the expand/collapse action icons on every panel header.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Accordion-mode panels with custom icons