Screens (56)
App Shell
Full-page workspace layout and interactive application screen.
Loading App Shell…
Usage
import { AppShell } from "ui-kit/screens/app-shell";Props
| Prop | Type | Default | Description |
|---|---|---|---|
sideCards | boolean | true | — |
rail | { items: ShellNavItem[]; bottom?: ShellNavItem[]; active?: string } | — | — |
chats | ShellChat[] | — | — |
chatsLoading | boolean | — | — |
back | { title: string; onClick?: () => void } | — | — |
workArea | WorkArea | — | — |
defaultPanelOpen | boolean | true | — |
defaultCollapsed | boolean | false | — |
children* | ReactNode | — | — |
active | string | — | — |
onNavigate | (label: string) => void | — | — |
workspace | string | "Acme" | — |
workspaceMeta | string | "Pro · 8 members" | — |
user | { name: string; avatar?: string } | — | — |
nav | ShellNavItem[] | defaultNav | — |
projects | string[] | defaultProjects | — |
groups | ShellGroup[] | — | — |
setup | SetupGroup[] | defaultSetup | — |
sidebarWidth | { default?: number; min?: number; max?: number } | — | — |
panel | ReactNode | — | — |
header | { title: ReactNode; actions?: ReactNode } | false | — | — |
panelTitle | string | "Workspace" | — |
panelWidth | { default?: number; min?: number; max?: number } | — | — |
layout | "inset" | "flat" | — | — |
className | string | — | — |