IExpansionPanelHeaderProps

interface
Disclosure

Props for the clickable header row of OrigamExpansionPanel. Controls the expand/collapse icons, focusability, static mode, readonly state, title text and all visual surface properties.

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.

expandIcon
TIcon
Icon shown when the panel is collapsed (indicating it can be expanded).
collapseIcon
TIcon
Icon shown when the panel is expanded (indicating it can be collapsed).
hideActions
boolean
Hide the expand/collapse chevron icon entirely.
focusable
boolean
Add a visible focus ring on the header when it receives keyboard focus.
static
boolean
Render the header without interactive behaviour — useful for purely decorative panels.
readonly
boolean
Prevent the user from toggling the panel open/closed.
title
string
Header label text. Override via the default slot for richer markup.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom expand/collapse icons

html