Accordion

Allow users to expand and collapse sections of content

Installation

npx @v-moravec/ui add accordion
Code will be added to ~/components/ui/accordion/. You can further customize it there.

Props

NameType
items
{ label: string; content: string; }[]
multipleOpen
boolean | undefined
animateOpen
boolean | undefined