Resizable
Resizable panel system with drag handles, min/max constraints, and layout persistence
Resizable
Flexible resizable panel layouts for editors, dashboards, email clients and documentation sites. Supports horizontal and vertical splits, nested groups, variants and custom handles.
Basic horizontal split
Use ResizablePanelGroup with direction="horizontal" to create classic split layouts. Each ResizablePanel receives a defaultSize percentage.
Two-column layout
Vertical split & nesting
Switch direction to "vertical" for stacked layouts. You can nest panel groups to build more complex structures.
Top / bottom panels
Code editor layout
Recreate code editor experiences with a sidebar, main editor and bottom terminal using nested resizable groups.
VS Code–style layout
Email client layout
Create three-pane layouts with a resizable sidebar, list and content panel—ideal for mail clients or split views.
Gmail-style layout
Analytics dashboard
Use larger panel groups to structure navigation, key metrics and chart areas in a responsive admin-style layout.
Sidebar + metrics + chart
Documentation layout
Build doc sites with a resizable table of contents and main content area—great for long-form guides.
Docs two-pane layout
All variants showcase
Apply visual variants to the wrapper, panels and handles to express hierarchy and state (primary, secondary, glass, outline, etc.).
Variant combinations
Usage Guidelines
When to Use
- Split layouts
- Adjustable panels
- IDE-style interfaces
Accessibility
- Keyboard resizing support
- Size announced on change
Performance
- RAF drag handling
- Efficient layout updates
Common Mistakes
- Resize handles too small
- No min/max constraints
Frequently Asked Questions
Related Components
View allAffix element to viewport with configurable offset and boundary constraints
Comprehensive charting system with 10 chart types (Line, Bar, Area, Pie, Radar, RadialBar, Scatter, Composed, Funnel, Treemap), responsive design, and data transformations
Animated collapsible content with controlled expansion, smooth transitions, and accessibility
Custom scrollbar implementation with virtual scrolling, horizontal/vertical modes, and smooth scrolling