Expandable

Simple show/hide content sections

Expandable provides a lightweight way to show and hide content.

Basic Usage

Default Open

Start expanded:

This section starts visible.

Use Cases

API Response Details

Optional Configuration

Props

PropTypeDefaultDescription
titlestringRequiredSection header text
defaultOpenbooleanfalseStart expanded

Expandable vs Accordion

Use Expandable for simple show/hide. Use Accordion when you need icons, descriptions, or grouped sections.

Was this page helpful?