# Collapsible
> Toggle-able content section with the new CollapsibleTrigger and CollapsibleContent subcomponents.
Source: https://shellui.dev/docs/v0.4/components/layout/collapsible
v0.3.0 adds `CollapsibleTrigger` and `CollapsibleContent` subcomponents for a fully compositional pattern, replacing the previous parameter-driven open state management.
## What changed from v0.2.x
| v0.2.1 | v0.3.0 |
|--------|-------------|
| External `IsOpen` + `IsOpenChanged` binding required | `CollapsibleTrigger` manages toggle internally |
| Content always in `ChildContent` | `CollapsibleContent` only renders when open |
## Installation
```bash
shellui add collapsible
```
`collapsible-trigger` and `collapsible-content` are auto-installed as dependencies.
## Usage
### Basic
```razor
Show details