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.

typescript

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.

flat
boolean
Remove the default elevation from every child panel.
items
Array<IExpansionPanelProps>
Declarative items array — each entry maps to an IExpansionPanelProps object.
accordion
boolean
Allow only one panel to be open at a time (accordion mode).
popout
boolean
Expand the open panel to a larger width than its siblings.
inset
boolean
Reduce the open panel width to create an inset effect.
expandIcon
TIcon
Override the default expand chevron icon.
collapseIcon
TIcon
Override the default collapse chevron icon.
hideActions
boolean
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

vue