ThiloDesign System
DV

Accordion

shadcn/ui

Vertically stacked collapsible sections. For FAQs, settings groups, and detail panels.

@/components/ui/accordion

Types

type propBehaviorWhen to use
single collapsibleOne open at a time, can fully collapseFAQs, settings sections, menus
singleOne open at a time, always one openWizard steps, mandatory sections
multipleAny number open simultaneouslyTicket detail panel, filters, reference docs

type="single" collapsible

type="multiple"

Both sections can be open at the same time.

In context — ticket detail panel

T7A3763Banana Corp — Login issue
In Review
High

Users report being unable to log in on mobile Safari after the 2.4.1 update. Issue appears after entering credentials — the submit button does nothing. Affects iOS 17+.

Props

PropTypeDescription
type"single" | "multiple"Single: one panel open at a time. Multiple: many can be open.
collapsiblebooleantype="single" only — allows closing the open item
valuestring | string[]Controlled open item(s)
defaultValuestring | string[]Initially open item(s), uncontrolled
onValueChangefunction(value) => void
disabledbooleanOn AccordionItem — disables that item only

On this page