A simple two-or-more pane layout for docs, settings, and product workspaces.
SplitView defines how EnterUI handles a simple two-or-more pane layout for docs, settings, and product workspaces, including default structure, accessible states, and token-driven styling.
SplitView stays layout-focused and does not add complex drag resizing.
Use panes for persistent navigation plus focused content.
<SplitView>
<SplitViewPane defaultSize="180px">
<NavLink active href="/docs">Overview</NavLink>
<NavLink href="/docs/components/button">Components</NavLink>
</SplitViewPane>
<SplitViewPane>
<strong>Content pane</strong>
<p className="docs-preview-muted">Use panes for persistent navigation plus focused content.</p>
</SplitViewPane>
</SplitView>import { SplitView, SplitViewPane } from "@froggdesign/enter-ui-react";SplitView is layout only. Use semantic landmarks inside panes when the layout represents navigation, main content, or complementary regions.
SplitView orientation: horizontal or vertical.SplitViewPane defaultSize sets the initial flex basis.SplitViewPane minSize sets the pane minimum size.Uses .eui-split-view and pane classes with subtle borders.