Primitives
Accordion
Animated accordion component for collapsible FAQ-style content. Supports single or multiple open items.
Installation
npm install @trinkui/reactPreview
Variants
Props
| Prop | Type | Default | Description |
|---|---|---|---|
itemsrequired | AccordionItem[] | — | Accordion items { id, trigger, content } |
allowMultiple | boolean | false | Allow multiple items open at once |
variant | "default" | "bordered" | "separated" | "default" | Visual style variant of the accordion |
className | string | — | Additional CSS classes |