accordian
Accordion component with smooth expand/collapse animations
Installation
Choose your preferred installation method. CLI is recommended for the fastest setup.
1
Quick Install
One command, zero configuration
$ npx @hritik-sharmaa/repeat-ui add commons-accordian --variant ts-tailwind
Props Table
Configuration options and properties for this component.
Prop | Type | Default | Description |
---|---|---|---|
items | AccordionItem[] | [] | Array of accordion items with id, title, and content properties. |
allowMultiple | boolean | false | Whether to allow multiple accordion items to be open simultaneously. |