Skip to content

ResizablePanel ​

Overview ​

A resizable panel managed by a ResizablePanelGroup.

Props ​

NameTypeRequiredDefaultDescription
defaultSizenumberundefinedThe default size of the panel as a percentage.
minSizenumberundefinedThe minimum size of the panel as a percentage.
maxSizenumberundefinedThe maximum size of the panel as a percentage.
idstringundefinedThe id of the panel.
ordernumberundefinedThe order of the panel in the group.
collapsiblebooleanundefinedWhether the panel can be collapsed.
collapsedSizenumberundefinedThe collapsed size of the panel as a percentage.
asstring|objectundefinedThe element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.

Slots ​

default ​

Scoped slot.

Events ​

NameDescription
collapseEmitted when the panel collapses.
expandEmitted when the panel expands.
resizeEmitted when the panel is resized.

Full event reference

Source ​

client/lib/shell/resizable/ResizablePanel.vue