Splitter
Left pane
Right pane
| Prop | Type | Default | Value | Notes |
|---|
| ariaLabel | string? | i18n 'splitter.resize' | Accessible name for the separator. | |
| className | string? | '' | Extra classes for the separator handle. | |
| invert | boolean | false | Flips drag and arrow-key deltas for a pane anchored on the far side of the handle (right or bottom panes). | |
| lineClass | string? | '' | Extra classes for the visible divider line. | |
| max | number? | — | Upper clamp for the divider position; unset follows the orientation/unit preset. | |
| min | number? | — | Lower clamp for the divider position; unset follows the orientation/unit preset. | |
| orientation | 'vertical' | 'horizontal' | 'vertical' | Vertical splits left/right; horizontal splits top/bottom. | |
| unit | 'px' | '%' | 'px' | Unit for the value, drag delta, and arrow-key step. | |
| value | number | — | Divider position in pixels or percent; drive it from onChange (the seed reads it from scope). | |
| getContainer | () => HTMLElement | null | — | — | Explicit flex container that establishes the % basis; unset measures the wrapper’s parent. |
| onChange | (value: number) => void | — | — | Fires while dragging and on arrow-key nudges. |
| onDragEnd | () => void | — | — | Fires after a drag or keyboard nudge completes. |