Resizable

Panes the user can resize, side by side or stacked, with the divider as the handle.

Side by side

Drag the line. The proportion is remembered.

Map

Waypoints

ST-01
ST-02
ST-03
ST-04
<ResizableGroup id="waypoints">
	<ResizablePane defaultSize={60} minSize={30}>…map…</ResizablePane>
	<ResizableHandle />
	<ResizablePane defaultSize={40} minSize={25}>…table…</ResizablePane>
</ResizableGroup>

Stacked

Chart
Readings

Rules

  • For two things the user works across at once and wants in different proportions: a map and its table, a list and its detail.
  • Give every pane a min size it still works at. Never let a pane resize to nothing unless it can be collapsed on purpose.
  • The handle is the divider: a hairline at rest, primary when hovered, focused or dragged, as the Sheet’s edge.
  • Give the group an id when the proportion is a preference, so it’s remembered.
  • Arrow keys move a focused handle; Home and End jump it to the limits.