layout/@mihcm/ui·v0.21.0·stable
PageShell
Application layout scaffold: TopBar on top, Main Sidebar on desktop, mobile bottom-menu anchor, TitleBar + scrollable content on the right. Web only.
Props
The full prop API for PageShell. Same surface in web and React Native — bundlers pick the right variant via the react-native export condition.
| Prop | Type | Default | Description | Since |
|---|---|---|---|---|
topBar | ReactNode | — | Rendered above everything. | 0.4.0 |
sidebar | ReactNode | — | Rendered to the left of the main column. | 0.4.0 |
titleBar | ReactNode | — | Rendered at the top of the main column (sticky). | 0.4.0 |
Import
import { PageShell } from '@mihcm/ui/PageShell';