Three-pane shell (Oxyn extra)Pro
An icon rail, a chats column with a project switcher, the page and a work area.
oxyn add shell-three-panePinned
Projects
Chats
Your page goes here
The frame keeps the sidebar, this page and the work area in step: drag the hairlines to resize, fold the sidebar to a rail, close the work area.
The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- An icon rail, a chats column with a project switcher, the page and a work area.
When not to use
- Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
- The app frame: use App shell instead.
- An assistant docked beside a page: use AI side panel instead.
Installation
Three-pane shell (Oxyn extra) is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add shell-three-paneUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Sample
Sample data in the Inset frame.
Pinned
Projects
Chats
Your page goes here
The frame keeps the sidebar, this page and the work area in step: drag the hairlines to resize, fold the sidebar to a rail, close the work area.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Flat
The same screen in the Flat frame.
Pinned
Projects
Chats
Your page goes here
The frame keeps the sidebar, this page and the work area in step: drag the hairlines to resize, fold the sidebar to a rail, close the work area.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Loading
Skeletons where the data will land.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Empty
Nothing yet: each region says what will appear.
No projects or chats yet
Your page goes here
Everything a screen shows sits in this pane; the sidebar and work area stay put.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
RailShellScreen
| Prop | Type | Default | Description |
|---|---|---|---|
layout | String | "inset" | `inset` or `flat`. |
state | String | "sample" | `sample`, `loading` or `empty`. |
height | u32 | 640 | Height px. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Sidebar, page, then the work area |
| ←or→ on a hairline | Resize the sidebar or work area |
| Escape | Close an open menu; clear search |
Accessibility
- The sidebar is a labelled nav; the open chat has aria-current and unread chats say so.
- Menus open from a trigger that reports aria-expanded; their items are menuitemradio and Escape shuts them.
- Hairlines are separators with a value and arrow keys; skeletons are hidden from screen readers.
Responsive behaviour
- Under 860 px of width the work area becomes a sheet opened from the top bar.
- Under 640 px the sidebar slides in from the menu button and the composer drops its labels.
Edge cases (spec)
Root fills its container (definite width, overflow clip, container queries). Under 860 px the work area becomes a sheet opened from the top bar; under 640 px the sidebar slides in from a menu button and composer menus drop their labels.
Notes for AI
- Import
RailShellScreenfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
ScreenRailElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.