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.
The closest item to your cursor is highlighted before you click, reducing targeting errors.
Springs respond naturally to interruption — if a user reverses mid-transition, the animation adapts.
Yes. Your existing theme, radius tokens, and setup apply automatically.
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.
The component integrates with the shape system for rounded, pill or sharp border-radius variants. All animations use spring physics.
The accordion supports WAI-ARIA attributes, keyboard navigation, and focus management.
Smooth height transitions and spring-animated chevron rotation. The fluid hover background tracks your cursor.
Multi Expand
Multiple items can be expanded at the same time.
Click any trigger to expand or collapse independently.
Each item operates independently in multiple mode.
Row highlight
The panel reads as part of the page rather than a filled block.
The fill follows your cursor instead of marking a state.
Those hold a block across the row and its panel while open.
API Reference
Types come from the public API. A dash indicates no default is documented here.
Accordion props
Public source| Prop | Type | Default |
|---|---|---|
key | string | Required |
value | readonly string[] | Required |
items | readonly AccordionEntry<Msg, R>[] | Required |
onToggled | (value: ReadonlyArray<string>) => NoInfer<Msg> | Required |
multiple | boolean | — |
collapsible | boolean | — |
disabled | boolean | — |
keepMounted | boolean | true |
highlight | "item" | "trigger" | 'item' |
hiddenUntilFound | boolean | — |
size | SizeVariant | 'default' |
shape | ShapeVariant | 'rounded' |
reducedMotion | "user" | "always" | "never" | 'user' |
className | string | — |