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.

PropTypeDefaultDescription
itemsAccordionItem[][]Array of accordion items with id, title, and content properties.
allowMultiplebooleanfalseWhether to allow multiple accordion items to be open simultaneously.