Components
Collapsible
An interactive component that expands/collapses a panel.
Loading
Installation
pnpm dlx shadcn@latest add https://reui.io/r/base-collapsible.json
Examples
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.
CollapsiblePanel
This component is based on the Collapsible.Panel primitive and includes the following custom props:
Prop | Type | Default |
---|---|---|
className |
Credits
- Built with Base UI Collapsible.