Skip to content

Accordion

Collapsible sections with animated expand/collapse and fluid hover in grouped mode.

Installation

Install Accordion from the Fluid Effect UI registry.

Playground

A design philosophy where every animation serves a functional purpose — motion is information, not decoration.

Standalone

A collapsible accordion with animated expand/collapse and spring-animated chevron.

Single Expand

Install the component and import it into your project. The accordion supports both single and multiple expand modes.

Multi Expand

Multiple items can be expanded at the same time.

Each item operates independently in multiple mode.

Row highlight

The panel reads as part of the page rather than a filled block.

API Reference

Types come from the public API. A dash indicates no default is documented here.

Accordion props

Public source
PropTypeDefault
keystringRequired
valuereadonly string[]Required
itemsreadonly AccordionEntry<Msg, R>[]Required
onToggled(value: ReadonlyArray<string>) => NoInfer<Msg>Required
multipleboolean—
collapsibleboolean—
disabledboolean—
keepMountedbooleantrue
highlight"item" | "trigger"'item'
hiddenUntilFoundboolean—
sizeSizeVariant'default'
shapeShapeVariant'rounded'
reducedMotion"user" | "always" | "never"'user'
classNamestring—