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
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | Required | Section header text |
defaultOpen | boolean | false | Start expanded |
Expandable vs Accordion
Use Expandable for simple show/hide. Use Accordion when you need icons, descriptions, or grouped sections.