Overview Button Copy button Field Input Number field Textarea Select Combobox Multiselect Date picker Date range picker Date-time picker Checkbox Radio group Position picker Switch Slider Dropzone Device controls Avatar Badge Card Collapsible Kbd Map Matrix Proportion bar Separator Stat Table Timeline Chat Playback Pagination Charts Chart theming Profile chart Time series chart Bar chart Isopleth chart TS diagram Box plot Rose chart Calendar chart Banner Toast Loader Progress Skeleton Empty state Error state Dropdown menu Tooltip Info tooltip Dialog Sheet Resizable Confirm dialog Breadcrumbs Command palette Mobile menu Navigation list Outline Scroll rail Sidebar Tabs
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.