Components

Expandable

A single collapsible section.

Use Expandable for one optional block of content. For a list of related items, prefer Accordion.

Basic usage#

Open by default#

This section starts expanded.

Each expandable is an independent accordion and does not coordinate open state with siblings.

Properties#

NameTypeDescription
titlerequiredReactNode

Summary label.

defaultOpenboolean

Whether the section starts expanded.

Default: false
childrenReactNode

Content revealed when open.

Last updated on