Resizable

Draggable panel groups for creating resizable layouts with min/max constraints.

Default

Two horizontal panels with a drag handle.

Panel A
Panel B

Vertical

Vertically stacked panels.

Top
Bottom

Three Panels

Three panels with two handles.

Sidebar
Content
Inspector

Usage

julia
using Suite

ResizablePanelGroup(direction="horizontal",
    ResizablePanel(default_size=30,
        Div("Sidebar content")
    ),
    ResizableHandle(with_handle=true),
    ResizablePanel(default_size=70,
        Div("Main content")
    ),
)

API Reference

ResizablePanelGroup

PropTypeDefaultDescription
directionString"horizontal"Layout direction: "horizontal" or "vertical"
childrenAny-ResizablePanel and ResizableHandle elements
classString""Additional CSS classes

ResizablePanel

PropTypeDefaultDescription
default_sizeInt0Initial size as percentage (0 = auto-distribute)
min_sizeInt10Minimum size percentage
max_sizeInt100Maximum size percentage
childrenAny-Panel content
classString""Additional CSS classes

ResizableHandle

PropTypeDefaultDescription
with_handleBoolfalseWhether to show a visible grip icon
classString""Additional CSS classes