Layout Splitter Workspace

v1.0.0

A resizable split-panel layout container.

Horizontal Workspace Splitting

Click and drag the divider to resize panels.

lib
utils.ts
button.tsx

Main Layout Workspace Panel

Drag the vertical line separator handle channel left or right to re-scale the inner structural width tracking buffers.

Splitter API Reference

All available props for this component.

Property
Type
Default
Description
primaryPaneReact.ReactNoderequiredContent tree rendered inside the variable-sized first slot (left or top).
secondaryPaneReact.ReactNoderequiredContent tree rendered inside the secondary expanding responsive filling box slot.
direction'horizontal' | 'vertical''horizontal'Controls alignment vectors and matches pointer tracking vectors to matching axes streams.
initialSizenumber30Initial split allocation percentage targeted directly at the primary container partition layer.
minSizenumber15The lower boundary constraint floor percentage allowed by the drag interaction handler.
maxSizenumber85The upper boundary ceiling percentage restriction allowed by the drag interaction handler.
© 2026 Venti UI Labs. UI made right.