Documentation
Disclosure

Collapsible

A single expand/collapse section on its own, built from the same `disclosure` family (trigger, panel, content) as the accordion.

npx shadcn@latest add @fragiola/collapsible
Collapsible
Gallery

Style families

collapsible and accordion render from the same disclosure source. The only difference is coordination — behaviour from the primitive, not a style variant. The zero-variant rule is preserved.

Parts

PartSource
RootBase UI Collapsible
Triggerdisclosure.trigger()
Paneldisclosure.panel()
Contentdisclosure.content()