A vertically stacked set of interactive headings that each reveal a section of content. Supports single/multiple expand modes, controlled and uncontrolled state, and a signature grid-rows unfold animation with y-settle.
Dependencies
motion
Interaction Type
Click a trigger to expand/collapse its panel. Keyboard: Enter or Space to toggle, Tab to move between triggers.
Props
Options you can pass to customize this component.
Prop
Type
Description
type*
'single' | 'multiple'
Whether one or multiple items can be expanded at the same time.
collapsible
boolean
When type is "single", allows closing all items. Has no effect in "multiple" mode.