Collapsible

A primitive that hides and shows content. Unlike Accordion, it has no built-in styling — you supply the trigger and content layout. Built on Radix UI Collapsible.

Category

Installation

Props

Forwards all Radix Collapsible Root props.

PropTypeDefaultDescription
open
boolean—Controlled open state.
defaultOpen
booleanfalseUncontrolled default state.
onOpenChange
(open: boolean) => void—Called when open state changes.
disabled
booleanfalseDisables the trigger.