fndn/ui

Components

Splitter

Beta

Panels side by side with a handle between them that resizes them.

Details

Panels side by side (or stacked) with a handle between each pair that resizes them: dragged by the pointer 1:1, stepped by the arrow keys. The handle at rest is the separator's 1px rule in the line colour, so a splitter reads like any divided surface; it darkens under a mouse and turns accent while dragged. An optional grip sits on the rule. Behaviour by Ark UI's splitter (Zag). Sizes are percentages; controlled or uncontrolled.

Behaviour from Ark UI, the splitter machine of Zag.