Components
Collapsible
An interactive component that expands/collapses a panel.
Installation
pnpm dlx shadcn@latest add https://reui.io/r/collapsible.json
Examples
Default
Loading
Card
Loading
API Reference
This component provides a customizable collapsible system with various styles and states.
Collapsible
This component is based on the Collapsible.Root primitive and includes the following custom props:
Prop | Type | Default |
---|---|---|
className |
CollapsibleTrigger
This component is based on the Collapsible.Trigger primitive.
CollapsibleContent
This component is based on the Collapsible.Content primitive and includes the following custom props:
Prop | Type | Default |
---|---|---|
className |