Skip to content
GitHub

Accordion

A collapsible for displaying content.

Our flagship product combines cutting-edge technology with sleek design. Built with premium materials, it offers unparalleled performance and reliability.

Key features include advanced processing capabilities, and an intuitive user interface designed for both beginners and experts.

Installation

Usage

Controlled

Use the value and onValueChange props to control the accordion state programmatically.

Open the 2nd item

Examples

Non-collapsible

Set the collapsible prop to false to disable the collapsible behavior and prevent closing the open item.

Our flagship product combines cutting-edge technology with sleek design. Built with premium materials, it offers unparalleled performance and reliability.

Multiple

Use the multiple prop to allow multiple items to be open simultaneously.

Disabled

Use the disabled prop on AccordionItem to prevent interaction with specific items.

Our flagship product combines cutting-edge technology with sleek design. Built with premium materials, it offers unparalleled performance and reliability.

API Reference

Accordion

Root component. Manages expand/collapse state for items.

AccordionItem

Wraps a single accordion section (trigger + content).

AccordionTrigger

Toggles the section open/closed on click.

AccordionContent

Holds the collapsible content for the section.


For a complete list of props, see the Ark UI documentation.