SplitView

Resizable two-pane split layout with keyboard and pointer drag support.

Category: layout · WCAG 2.1-AA · layout, split, resizable, pane

Props

PropTypeDefaultDescription
startReactNodeLeft pane content
endReactNodeRight pane content
defaultRationumber0.3Initial split ratio (0–1)
minnumber0.2Minimum ratio for start pane
maxnumber0.8Maximum ratio for start pane
aria-labelstringLabel for the separator

Design tokens

When to use

When not to use

Examples

Basic

Two-pane split with draggable divider

<SplitView start={<FileTree />} end={<Editor />} />

Related components

← Back to docs