Split Layout
Split Layout composes two or more pixel-constrained panes with pointer and keyboard resize handles. Applications keep ownership of controlled size, collapse, breakpoint, and persistence state.
Component imports
ts
import {
TngSplitGroupComponent,
TngSplitHandleComponent,
TngSplitPaneDirective,
type TngSplitResizeEvent,
} from '@tailng-ui/components';Workspace layout
Resize the palette, inspector, or nested JSON panel. Press Enter on a handle to toggle its collapsible pane; the palette preserves a 56px icon rail while the other panels collapse to zero.
Workflow workspace (Plain CSS)
{ "workflow": "ready" }Workflow workspace (Tailwind CSS)
{ "workflow": "ready" }Accessibility baseline
- Handles expose separator role, orientation, adjacent pane ids, and pixel value ranges.
- Arrow keys resize; Shift uses the large step; Home and End move to boundaries.
- Enter toggles the selected collapsible pane and focus rings remain visible.
- Horizontal behavior follows application direction in RTL layouts.