Resizable Panes (Split View)
Two or more panels side by side with a divider you drag to resize them.
Also known as: Split View
role="separator" aria-valuenow + pointer eventsWhen to use it
For code editors, mail apps and dashboards.
Common mistake
Don’t let panes shrink to nothing.
Accessibility
Let the divider move with arrow keys too.
Name in code
| HTML/CSS | role="separator" aria-valuenow + pointer events |
|---|---|
| React | react-resizable-panels |
| Jetpack Compose | Row + draggable divider (custom) |
| SwiftUI | HSplitView / NavigationSplitView |
Ready prompt for your coding agent
Add a Resizable Panes (Split View) to this screen.
What it is: Two or more panels side by side with a divider you drag to resize them.
Implement with: role="separator" aria-valuenow + pointer events (HTML/CSS).
Accessibility: Let the divider move with arrow keys too.
When to use it: For code editors, mail apps and dashboards.
Avoid: Don’t let panes shrink to nothing.
Reuse the project's existing design tokens, spacing and component conventions.
Or compose a whole page from this element and others →
Prompts are in English for the most precise results with coding agents.