Components
← All components

Resizable

stimeo--resizable

Drag a divider to resize the areas either side of it, and do the same from the keyboard.

  • Core
  • Window Splitter

Splits an area and lets you drag the divider to resize what sits either side. During a drag the pointer stays captured, so leaving the divider or even the window never drops it. You can set how far it may narrow and widen. Double-clicking the divider collapses and restores it. The keyboard does the same, stepping with the arrow keys and jumping to the ends with Home and End. The current split is readable from CSS, so the markup and the layout stay entirely yours.

running

Left Pane

Primary editor area

Right Pane

Preview workspace

Keyboard

KeyAction
← / ↑ Decreases the splitter value by step, shrinking the primary (left/top) pane.
→ / ↓ Increases the splitter value by step, expanding the primary (left/top) pane.
Home Instantly snaps the primary pane to its minimum size (minValue).
End Instantly snaps the primary pane to its maximum size (maxValue).
Double Click Double-clicking the handle collapses the pane to its minimum size, or restores it to its previous state.
F6 Cycle focus through the panes (wrapping).