easeUI
1

Accordion

Expanding sections that grow to their natural height with no measuring, with arrow key navigation and closed panels skipped by Tab.

Run the shadcn add command from any component page. The source file lands in your project, ready to edit.

Yes. Every animation turns off when the operating system asks for reduced motion.

Yes. easeUI is MIT licensed, so you can use it in personal and commercial projects.

Installation

$ bunx --bun shadcn add @easeui/accordion

API reference

ComponentPropTypeDefaultDescription
Accordionmultiple?booleanfalseLet several items stay open at once. Default false.
AccordiondefaultValue?string[][]Open items when uncontrolled.
Accordionvalue?string[]-Open items when controlled.
AccordiononValueChange?((value: string[]) => void)-Called with the open items after each change.
AccordionclassName?string--
AccordionItemvaluestring-Unique id for this item within the accordion.
AccordionItemclassName?string--
AccordionTriggerclassName?string--
AccordionTriggerdisabled?boolean--
AccordionContentclassName?string--

Updated