---
url: "https://vueda.dev/v3/reference/api/vue/ResizablePanel.md"
title: "ResizablePanel"
---

# ResizablePanel

## Overview

A resizable panel managed by a ResizablePanelGroup.

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-defaultSize">defaultSize</span> | `number` |  | `undefined` | The default size of the panel as a percentage. |
| <span id="prop-minSize">minSize</span> | `number` |  | `undefined` | The minimum size of the panel as a percentage. |
| <span id="prop-maxSize">maxSize</span> | `number` |  | `undefined` | The maximum size of the panel as a percentage. |
| <span id="prop-id">id</span> | `string` |  | `undefined` | The id of the panel. |
| <span id="prop-order">order</span> | `number` |  | `undefined` | The order of the panel in the group. |
| <span id="prop-collapsible">collapsible</span> | `boolean` |  | `undefined` | Whether the panel can be collapsed. |
| <span id="prop-collapsedSize">collapsedSize</span> | `number` |  | `undefined` | The collapsed size of the panel as a percentage. |
| <span id="prop-as">as</span> | `string\|object` |  | `undefined` | The element or component to render as. |
| <span id="prop-asChild">asChild</span> | `boolean` |  | `false` | When true, merges props onto the child element instead of rendering a wrapper. |

## Slots

### `default` {#slot-default}

Scoped slot.

## Events

| Name | Description |
| --- | --- |
| `collapse` | Emitted when the panel collapses. |
| `expand` | Emitted when the panel expands. |
| `resize` | Emitted when the panel is resized. |

[Full event reference](/v3/reference/api/vue/ResizablePanel/events.md)

## Source

`client/lib/shell/resizable/ResizablePanel.vue`
