Docs
Collapsible

Collapsible

An interactive component which expands/collapses a panel.

@peduarte starred 3 repositories

@radix-ui/primitives

Usage

import shadcn.ui.components.Collapsible
import shadcn.ui.components.CollapsibleContent
import shadcn.ui.components.CollapsibleTrigger
Collapsible {
    CollapsibleTrigger { +"Can I use this in my project?" }
    CollapsibleContent {
        + "Yes.Free to use for personal and commercial projects . No attribution required."
    }
}