Props
| Prop | Type | Default | Notes |
|---|---|---|---|
position | number | 0.5 | |
orientation | horizontal | vertical | horizontal | |
disabled | boolean | false | |
snap | array | [] | |
snap-threshold | number | 10 |
StellarUI
draggable splitter for resizing two authored panels with keyboard support, snap points, and optional custom handle content.
Give the start panel a min width with --divider-min-position and add snap points when specific layouts matter.
The component only owns the resize interaction and divider treatment. The two panels remain normal authored content.
<stellar-splitter
position="0.4"
snap="[25,50,75]"
>
<div slot="start">Start panel</div>
<div slot="end">End panel</div>
</stellar-splitter>Complete props, events, slots, and implementation notes for the shipped splitter surface.
| Prop | Type | Default | Notes |
|---|---|---|---|
position | number | 0.5 | |
orientation | horizontal | vertical | horizontal | |
disabled | boolean | false | |
snap | array | [] | |
snap-threshold | number | 10 |
| Event | Source | Notes |
|---|---|---|
input | host | Dispatched whenever drag or keyboard input changes the divider position so live bindings can track the current value. |
change | host | Also dispatched whenever the divider position changes. |
| Slot | Notes |
|---|---|
start | Primary panel content. |
end | Secondary panel content. |
handle | Optional custom divider handle content. |