Skip to content

ShellFrameProps

Defined in: src/ui/shell.tsx:165

Props for ShellFrame.

Property Type Description Defined in
brandMark? ReactNode The product mark (e.g. <BrandMark light={…} />), shown before the title. src/ui/shell.tsx:171
children? ReactNode The routed content (<Switch>…</Switch>). src/ui/shell.tsx:193
className? string - src/ui/shell.tsx:194
fallback? ReactNode Render this full-screen instead of the shell (e.g. a config error). src/ui/shell.tsx:191
headerExtra? ReactNode Extra header content, before the badges. src/ui/shell.tsx:183
logoUrl? string Logo image URL; replaces the mark and the wordmark. src/ui/shell.tsx:169
onBrandClick? () => void Brand click handler (e.g. go home); the brand is not a link without it. src/ui/shell.tsx:173
onNavigate? (path) => void Navigate to a tab (usually useShellNav()’s go). src/ui/shell.tsx:189
portal? boolean Show the portal badge. src/ui/shell.tsx:179
portalLabel? ReactNode Portal badge text; "Portal" by default. src/ui/shell.tsx:181
readonly? boolean Show the read-only badge. src/ui/shell.tsx:177
showThemeToggle? boolean Show the theme toggle; defaults to whether the theme provider owns the theme. src/ui/shell.tsx:185
switcher? ReactNode Scope switcher (app, project/env, tenant) or a pinned scope label, after the brand. src/ui/shell.tsx:175
tabs? readonly ShellTab[] Navigation tabs; the bar is hidden when there is at most one. src/ui/shell.tsx:187
title string Wordmark next to the mark (and the logo’s alt text). src/ui/shell.tsx:167