Layout
App shell
The frame of a product: translucent sidebar, sticky toolbar, page header; the sidebar becomes a sheet on phones.
npx dtheo@latest add app-shellBench 3 · firmware 4.18.2
R-0412 High-gain step
Overshoot reached 17.6 %, past the 10 % limit. Settling took 186 ms.
FailedKp 4.20
- Peak torque
- 9.41 N·m
- Phase current
- 31.2 A
- Winding temperature
- 71.2 °C
When to use
- Every tool in a suite, so they feel like one family
- Marketing pages and docs
- Single-purpose dialogs or embedded widgets
API
sidebar- AppShell: sidebar content. Below 768px it moves into a sheet.
ReactNode embedded= false- AppShell: fill a fixed-height parent instead of the viewport.
boolean level= 1- PageHeader: heading level of the title; use 2 when the page already has an h1.
1 | 2
Accessibility
- The current page carries
aria-current="page". Sections are labelled navigation landmarks.