Two-panel layout with resizable split.
import { SplitLayout } from "@/components/ui";Left Panel
Navigation or list
Right Panel
Detail or content
<SplitLayout
left={
<div className="p-4">
<h2>Left Panel</h2>
<p>Left content here</p>
</div>
}
right={
<div className="p-4">
<h2>Right Panel</h2>
<p>Right content here</p>
</div>
}
/>Different split ratios
<SplitLayout ratio="30/70" left={<Sidebar />} right={<MainContent />}/>Allow user to resize panels
<SplitLayout resizable left={<FileTree />} right={<Editor />}/>Common email app pattern
<SplitLayout ratio="30/70" left={ <div className="h-full overflow-auto"> <SearchInput placeholder="Search emails..." /> <EmailList emails={emails} /> </div> } right={ <div className="h-full overflow-auto"> <EmailDetail email={selectedEmail} /> </div> }/>Configure your app with the features you need and download production-ready code.
Start Configuring