Skip to main content
  1. Docs
  2. Components
  3. Console frame

App shell

The frame of a Qeet console: the scope bar, the navigation, the page, and panels on the end edge.

Import
@qeetrix/react/experimental
Status
ExperimentalSince 0.0.4
Renders
<main>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

When to use

Use it for
  • Every page of a Qeet console: one shell, around the routes.
Not for
  • A frame inside a page or a dialogCard

02

Anatomy

  1. 1app-shell-top<div>The scope bar: a TopBar, full width.
  2. 2app-shell-nav<div>The navigation: a Sidebar, ruled; it collapses to a rail.
  3. 3app-shell-main<main>The page: a PageHeader and PageContent. The skip link targets it.
  4. 4app-shell-panel<aside>An open panel, beside the page.

03

Do and don't

One shell, around every route
DoThe shell mounts once; routes change the page inside it.
Don'tA shell per page: the bar and the navigation redraw, and the rail forgets.

04

Content

  • Name the Sidebar for the product: it names the navigation landmark.
  • Panels have short labels: Help, Activity, Qeet AI.
  • Banners for the whole app; notifications for this page.
Next — App shellAPI