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
booleanControlled open state.
defaultOpen
booleanfalseUncontrolled default state.
onOpenChange
(open: boolean) => voidCalled when open state changes.
disabled
booleanfalseDisables the trigger.