App Shell Flat
The workspace shell laid flat — gray sidebar, edge-to-edge main canvas, and tabbed right work area split by single 1px hairlines, composed directly from BIU UI primitives.
When to use
Good fit
Calm, edge-to-edge AI workspaces, editors, tables, and Linear/Notion-style tools where every pixel belongs to the content rather than decorative framing.
When not to use
Marketing landing pages, docs articles, or card-on-canvas shells where the main pane should read as an elevated floating surface — use App Shell Inset instead.
Key capabilities
Core workflows built into the shell out of the box.
Flat hairline 3-pane geometry
Zero outer frame gap with a subtle off-white sidebar, pure white main canvas, and right work area separated purely by crisp 1px hairlines.
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-flat.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 AppShellFlat and AppShellInset.
AppShellFlat
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-flat automatically pulls these BIU UI components through the shadcn Registry: