0
Components
API reference

Accordion

A vertically stacked set of interactive headings that reveal or hide associated content panels.

Installation

Usage

Examples

Multiple

With Icons

API Reference

Accordion

Wraps Accordion.Root from Base UI. Manages open state and keyboard navigation across items.

PropTypeDefaultDescription
multiplebooleanfalseWhether multiple items can be open at the same time
valueunknown[]-Controlled array of currently open item values
defaultValueunknown[]-Initial array of open item values when uncontrolled
onValueChange(value: unknown[]) => void-Called when the open items change
loopFocusbooleantrueWhether keyboard focus loops from the last item back to the first
disabledbooleanfalseDisables all items within the accordion
...propsBase UI Accordion Root props-All other Accordion Root props are supported

AccordionItem

A single collapsible section with segmented surface styling and corner morphing.

PropTypeDefaultDescription
valueunknown-Unique identifier for the item
disabledbooleanfalseDisables this individual item
classNamestring-Additional CSS classes
...propsBase UI Accordion Item props-All standard accordion item props

AccordionTrigger

The interactive header button that toggles the item's panel. Includes a ripple effect and rotating chevron indicator.

PropTypeDescription
classNamestringAdditional CSS classes
...propsBase UI Accordion Trigger propsAll standard accordion trigger props

AccordionPanel

The collapsible content container with animated height and opacity transitions. Also exported as AccordionContent.

PropTypeDescription
classNamestringAdditional CSS classes
...propsBase UI Accordion Panel propsAll standard accordion panel props

© taut ui — built with Base UI and Tailwind CSS v4.