ComponentsBlocksDocsExamples

Accordion
Field
Accordion Menu
Alert Dialog
Avatar
Badge
Breadcrumb
Button
Carousel
Checkbox
Collapsible
Command
Combobox
Context Menu
Date Picker
Dialog
Dropdown Menu
Form
Filters
New
Hover Card
Input
Update
Label
Menubar
Navigation Menu
Popover
Progress
Radio Group
Scroll Area
Select
Separator
Sheet
Slider
Sortable
Switch
Table
Tabs
Tooltip
Toggle
Toggle Group
Tree

Components

Collapsible

UI Library:

An interactive component that expands/collapses a panel.

Open in
Loading

Installation

pnpm dlx shadcn@latest add @toui/collapsible

Examples

Card

Open in
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

  • Built with Radix UI Collapsible.
PreviouseCheckboxNextCommand

On This Page

  • Installation
  • Examples
    • Card
  • API Reference
    • Collapsible
    • CollapsibleContent
  • 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.

Token UI

Components

  • Overview
  • Pricing
  • Marketplace
  • Features
  • Integrations
  • Pricing

Blocks

  • Charts
  • Team
  • Blog
  • Careers
  • Contact
  • Privacy

Examples

  • Help
  • Sales
  • Advertise

Docs

  • Twitter
  • Instagram
  • LinkedIn

© 2025 TOUI.dev. All rights reserved.

  • Terms and Conditions
  • Privacy Policy