Skip to main content

Pane

Luke van Zyl·Updated April 6, 2026

Overview

A pane is a panel that slides in from the right side of the viewport and compresses the main content area. Panes support side-by-side workflows where a user needs access to a tool or a detailed view without leaving their current screen context.

Sandbox

Anatomy

  1. Container — The panel surface, fixed to the right edge of the viewport, that holds all pane content.
  2. Header — The top bar containing the title, leading icon, and action controls.
  3. Leading icon — A contextual icon to the left of the pane title identifying the tool or content type.
  4. Title — The name of the pane, using body-title-lg.
  5. Header actions — Icon buttons in the top-right corner for pin, expand/collapse, and close.
  6. Content area — The scrollable body of the pane, rendered differently per context.

Variants

Width

Standard (360px) The default width. Used for all five primary tool panes and most detail panes.

Expanded (720px) A wider variant for content that benefits from more horizontal space. All panes support toggling between standard and expanded via the header action. Only one pane can be expanded at a time. If a second pane is open when one expands, the second pane automatically closes.

Pinned vs. unpinned

Unpinned (default) The pane closes when the user navigates away from the current screen.

Pinned The pane persists across navigation. The pin action in the header reflects the current state. Only one pane can be pinned at a time.

CleanShot_2026-03-26_at_18.22.34.gif

Single vs. dual pane

Up to two panes can be open simultaneously, stacking horizontally from the right. Each maintains its own width and the main content area compresses to accommodate both. Expanding one pane while two are open closes the other automatically.

image.png

Usage

Panes are for workflows where the user needs persistent access to a tool or contextual detail without leaving the current screen.

Tool panes are launched from the third group in the primary navigation. The five tools are:

  • Assistant — AI chatbot for in-workflow support
  • Plumbs & Standards — Drug search and monograph reference (availability depends on plan)
  • Tasks — Task list management
  • Client Chat — Direct messaging with the client
  • Comm Log — Communication logging and outbound messaging for a patient

Detail panes are launched from inline controls within a screen. Known contexts include:

  • Prescriptions — Triggered from the Rx icon on a patient chart; shows all prescriptions for that patient
  • Document preview — Triggered by clicking a document in the chart
  • Appointment / event creation — Triggered from the calendar screen when creating a new appointment or event
  • Payments — Triggered from the financials page when viewing payment details

image.png

image.png

The main content area compresses as panes open. At very narrow viewport widths the body collapses entirely while panes maintain their width. Instinct does not support sub-1024px breakpoints.

When not to use a pane: If the task requires full focus and no side-by-side context is needed, use a modal or navigate to a dedicated screen instead.

Best Practices

DoDon't
Always include a leading icon in the pane header matching the tool or content typeDon't show a title-only header without an icon
Include pin, expand/collapse, and close in every pane headerDon't omit or vary the standard header actions across panes
Keep the pane title to the tool or content name onlyDon't include patient or account context in the title when it's already visible on screen
Allow the main content area to compress as panes openDon't overlay or cover the main content with a pane
Preserve pinned pane state across navigationDon't reset a pinned pane when the user changes screens
Close the second pane automatically when the user expands oneDon't allow two expanded panes to coexist

Accessibility

  • The pane container should use role="complementary" or role="region" with an aria-label matching the pane title.
  • Focus should move into the pane when it opens. When the pane closes, focus returns to the element that triggered it.
  • The close, pin, and expand/collapse buttons must each have an aria-label describing the action.
  • The expand/collapse button must reflect current state via aria-expanded="true" or aria-expanded="false".
  • The pin button should use aria-pressed to communicate pinned vs. unpinned state to screen readers.
  • Tab order within the pane should follow visual reading order: header actions first, then content.