Skip to content
ghostui

Accordion

A set of collapsible panels with headings.

Preview

Design guidance

Use Accordion when several related sections can open in place. Use Collapsible for one optional region owned by a surrounding surface.

Installation

Install the local ghost-kit source bundle while the registry runs at localhost:3110. It contains this component and its source dependencies. Prepare the local registry first so token dependencies also resolve locally.

Install

Basic usage

Structure

Examples

Multiple expansion

Keep more than one section open when people need to compare related details.

Disabled item

Keep unavailable information visible while preventing interaction with that item.

API reference

For inherited behavior and additional part properties, see the Base UI Accordion API.