Skip to content
Back

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-pane

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.

The code is part of Oxyn Pro

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.

Get Pro

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.

Terminal
oxyn add shell-three-pane

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

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 code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

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 code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Loading

Skeletons where the data will land.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

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 code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

RailShellScreen

PropTypeDefaultDescription
layoutString"inset"`inset` or `flat`.
stateString"sample"`sample`, `loading` or `empty`.
heightu32640Height px.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabSidebar, page, then the work area
←or→ on a hairlineResize the sidebar or work area
EscapeClose 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 RailShellScreen from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ScreenRailEl in oxyn_gpui.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI