Components

Collapsible (Radix UI)

An interactive component that expands/collapses a panel.

Loading

Installation

pnpm dlx shadcn@latest add @toui/collapsible

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:

PropTypeDefault
className string

CollapsibleContent

This component is based on the Collapsible.Content primitive and includes the following custom props:

PropTypeDefault
className string

Credits

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.