MiHCM
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.

Live preview

Adjust the controls on the right; the preview and code update in real time.

MiHCM
Yashi
User AdministrationSecurity & Permissions
Content area — scrollable region
example.tsxtsx
import { PageShell } from '@mihcm/ui/PageShell';

export function Example() {
  return (
    <PageShell
  topBar={/* Default TopBar */}
  sidebar={/* Main Sidebar */}
  titleBar={/* Page title */}
    ></PageShell>
  );
}

Install

Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.

npx @mihcm/cli add PageShell
Copies the source into components/ds/PageShell.tsx. You own the file. Use --out to override the directory or --force to overwrite.