- Components
- Data display
Collapsible
One panel that opens and closes by animating --collapsible-panel-height. The trigger is unstyled; pass render to use a Button.
Installation#
npx shadcn add @ortaui/collapsibleExamples#
Default#
3 starred repositories
roxxel/ortaui
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| open / defaultOpen | boolean | - | On Collapsible. |
| onOpenChange | (open: boolean) => void | - | On Collapsible. |