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/collapsibleCollapsible
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
| Part | Source |
|---|---|
Root | Base UI Collapsible |
Trigger | disclosure.trigger() |
Panel | disclosure.panel() |
Content | disclosure.content() |