Skip to content
Back

AI Chat / Double SidebarPro

Rail and chats column, a plain chat with web search folded into one line per answer, and artifacts on the right: an editable sheet and the sources.

oxyn add chat-double-sidebar

Pinned

Projects

Chats

Compare five fabrics for the overshirt: weight, price per metre and lead time.

Kestrel7:22 PM

Washed linen and hemp twill are the sturdiest; organic cotton is the cheapest and the quickest to arrive. Tencel drapes best but needs the gentlest wash.

For a shirt worn open over a tee I'd go hemp twill at about 240 gsm – it holds its shape, softens with each wash and lands in two weeks. I put all five side by side.

Which one holds up best if it's washed every week?

Kestrel7:26 PM

Ran 1 search · 1.2s

Hemp twill. It loses the least strength over fifty washes and pills less than the cotton blends; linen comes second but creases more each time.

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

  • A chat with the web beside its artifacts, under a two-column sidebar.

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

AI Chat / Double Sidebar 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 chat-double-sidebar

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

Compare five fabrics for the overshirt: weight, price per metre and lead time.

Kestrel7:22 PM

Washed linen and hemp twill are the sturdiest; organic cotton is the cheapest and the quickest to arrive. Tencel drapes best but needs the gentlest wash.

For a shirt worn open over a tee I'd go hemp twill at about 240 gsm – it holds its shape, softens with each wash and lands in two weeks. I put all five side by side.

Which one holds up best if it's washed every week?

Kestrel7:26 PM

Ran 1 search · 1.2s

Hemp twill. It loses the least strength over fifty washes and pills less than the cotton blends; linen comes second but creases more each time.

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

Compare five fabrics for the overshirt: weight, price per metre and lead time.

Kestrel7:22 PM

Washed linen and hemp twill are the sturdiest; organic cotton is the cheapest and the quickest to arrive. Tencel drapes best but needs the gentlest wash.

For a shirt worn open over a tee I'd go hemp twill at about 240 gsm – it holds its shape, softens with each wash and lands in two weeks. I put all five side by side.

Which one holds up best if it's washed every week?

Kestrel7:26 PM

Ran 1 search · 1.2s

Hemp twill. It loses the least strength over fifty washes and pills less than the cotton blends; linen comes second but creases more each time.

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

Ask with the web

Answers search the web, then fold the searches into one line you can open.

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

Folded

The chats column folded to the rail; the thread takes the room.

Pinned

Projects

Chats

Compare five fabrics for the overshirt: weight, price per metre and lead time.

Kestrel7:22 PM

Washed linen and hemp twill are the sturdiest; organic cotton is the cheapest and the quickest to arrive. Tencel drapes best but needs the gentlest wash.

For a shirt worn open over a tee I'd go hemp twill at about 240 gsm – it holds its shape, softens with each wash and lands in two weeks. I put all five side by side.

Which one holds up best if it's washed every week?

Kestrel7:26 PM

Ran 1 search · 1.2s

Hemp twill. It loses the least strength over fifty washes and pills less than the cotton blends; linen comes second but creases more each time.

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

ChatRailScreen

PropTypeDefaultDescription
layoutString"inset"`inset` or `flat`.
stateString"sample"`sample`, `loading`, `empty` or `folded`.
heightu32640Height px.
nowrequiredClockMs—The clock.

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
Arrow keys in the sheetMove the selected cell
Enter in ContentsKeep the edit, move down

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)

Every screen is authored on the 1440 × 900 stage (rule R1) and scaled to its column; the full view (/screens/<slug>/full) renders at the real viewport with the state bar under it (R2). Under 860 px of real width the work area becomes a sheet opened from the top bar; under 640 px the sidebar slides in from a menu button and the composer's approval and model chips drop their labels (icons stay). Every label in a row, chip or card title ellipsises in a flex child with min-width 0 (R5); scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark.

Notes for AI

  • Import ChatRailScreen from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ChatRailEl in oxyn_gpui.
  • Props to set first: now.
  • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
  • 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