App Shell Inset
Collapsible sidebar with workspace, menu, projects, and account framing rounded white main and right workspace cards — the signature frame every screen sits in.
When to use
Good fit
The signature base frame for an AI assistant, internal tool, or SaaS dashboard where main content and the side work area read as distinct rounded cards on a subtle canvas.
When not to use
Marketing landing pages, apps with deep multi-level navigation trees, or ultra-dense edge-to-edge editors — switch to App Shell Flat for full-bleed hairline layout.
Key capabilities
Core workflows built into the shell out of the box.
Framed rounded-card 3-pane geometry
Borderless sidebar on a subtle #f8f8f8 canvas framing 12px-rounded white main and right workspace cards with an 8px outer inset and 4px inter-card gap.
Drag-resizable panes & icon rail
Smoothly drag-resize both sidebars, double-click dividers to reset, or collapse the left navigation into a 48px icon rail with right-side tooltips.
Composed from BIU UI primitives
Built directly on Avatar, Button, CommandMenu, Dialog, DropdownMenu, EmptyState, IconButton, ScrollArea, and Tooltip.
Multi-tab work area or custom panel
Ships with interactive Terminal, Browser, Notes, and Suggested source tabs — or pass panel + panelTitle for a single inspector pane.
Interactive footer stack & menus
Includes a dismissible stacked promo deck, upward-expanding Getting started checklist with live progress, plus full Workspace & Account submenus.
Container-query responsive drawers
Automatically switches below 900px container width to slide-in overlay drawers with backdrop scrims without relying on window breakpoints.
Usage
Running the shadcn command above installs app-shell-inset.tsx and its BIU UI primitive dependencies directly into @/components/ui/biu/. Mount <BiuTokens /> once at your app root, give the shell a full-height container (such as height: "100dvh"), and render your route inside children.
USAGE / TSXUsage examples
Switch between common configurations — custom right inspector panel, minimal single-sidebar layout, or controlled & localized shell state.
EXAMPLE / TSXAPI Reference
All props and exported TypeScript types shared by AppShellInset and AppShellFlat.
AppShellInset
AppShellNavItem, AppShellNavGroup & AppShellUser
Data shapes for primary sidebar navigation entries, collapsible multi-section groups, and the account footer.
AppShellPromoCard & AppShellSetupStep
Sidebar footer announcement deck and interactive checklist items.
AppShellToolItem & AppShellSuggestedItem
Rows inside the default right workspace New tab screen.
Keyboard, accessibility & responsive behavior
Every navigation item, project, collapse toggle, and workspace tab is a native button with accessible labeling. Folded to the 48px icon rail, each icon names itself via a right-side <Tooltip />. Below 900px container width (@container asf), both sidebars automatically switch to slide-in overlay drawers with a backdrop scrim.
Included Primitives
Installing app-shell-inset automatically pulls these BIU UI components through the shadcn Registry: