skip to the page
superthread
componentsresizable
system
superthread
version
2.15.1
date
24.11.26

resizable

panels that share a movable 1 px rule. its 8 px hit area works with the pointer, and a focused handle moves with the arrow keys.

bunx --bun shadcn@latest add @mk/resizable

example

drag the grip to divide the run list and its log. tab to the separator and use left or right to resize with the keyboard.

light

runsor-412
logbuild finished

dark

runsor-412
logbuild finished

orientation

vertical groups stack the same panels and turn the grip. the separator now responds to up and down.

light

runsor-412
logbuild finished

dark

runsor-412
logbuild finished

handles

a plain rule works without the grip. its keyboard ring straddles the rule at zero offset.

light

runsor-412
logbuild finished

dark

runsor-412
logbuild finished

states

hover and drag turn the rule foreground. a gripped separator draws its focus edge inside the small grip; disabled fixes the split.

light

rest
1 px rule, 8 px hit area

hover
rule takes foreground

dragging
rule takes foreground

focus
inside grip ring

plain focus
zero-offset ring on the rule

runsor-412
logbuild finished

disabled
fixed split, no keyboard stop

dark

rest
1 px rule, 8 px hit area

hover
rule takes foreground

dragging
rule takes foreground

focus
inside grip ring

plain focus
zero-offset ring on the rule

runsor-412
logbuild finished

disabled
fixed split, no keyboard stop