# Resizable
> Panels side by side or stacked, with a divider you drag to resize them.
Source: https://native.shellui.dev/docs/components/layout/resizable
ShellUI for Blazor's `Resizable` doesn't drag, so the preview below is a still picture of the native component.
## Installation
```bash
shellui-native add resizable
```
**Platforms:** MAUI · Avalonia.
## Usage
### Basic
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=resizable-basic)
`Size` is a panel's share of the space: a panel with `Size="2"` gets twice as much as one with `Size="1"`. Dragging a divider moves space between its two neighbours, and neither goes under its `MinSize`. Groups nest, so a panel can hold another `Resizable` with the other orientation. Give the outer group a size.
## MAUI and Avalonia
- On Avalonia the dividers are tab stops: the arrow keys move a focused divider 16px.
- The Avalonia pointer shows a resize cursor over a divider.
## API
### Resizable
XAML children go to `Panels`.
| Property | Type | Default | Description |
|---|---|---|---|
| `Orientation` | `StackOrientation` (MAUI) · `Orientation` (Avalonia) | `Horizontal` | `Horizontal` or `Vertical`. |
| `ShowHandle` | `bool` | `true` | Shows the short bar on each divider; the divider drags with or without it. |
| Event | Arguments | Description |
|---|---|---|
| `Resized` | — | A drag ended. |
### ResizablePanel
| Property | Type | Default | Description |
|---|---|---|---|
| `Size` | `double` | `1` | The panel's share of the space: `2` gets twice as much as `1`. Two-way bindable. |
| `MinSize` | `double` | `48` | The smallest the panel can be dragged to, in device-independent pixels. |