Shell
Collapsible
Single toggle-visibility container built on bits-ui. Trigger row with a chevron + body that shows/hides.
Examples
Basic
This region toggles open and closed when you click the trigger above.
<Collapsible title="Show details">
Hidden by default.
</Collapsible>Props
| Prop | Type | Default | Description |
|---|---|---|---|
open | boolean | false | Bindable open state. |
title | string | — | Trigger label. |
disabled | boolean | false | Lock the trigger. |
Install
CLI
npm install bits-ui
npx @a3tai/mittsu add collapsible