About Shadcn UI App Shell Blocks
A dashboard shell is the frame that surrounds every page of an admin app: navigation, a header with search, inbox and account controls, and a content region. These 32 shadcn app shell blocks cover that frame in different shapes, from a classic sidebar to icon rails, double sidebars, floating cards and top navigation bars. The content area is intentionally left as placeholder tiles, so the shell never dictates what your pages show.
Each shell is written in React and TypeScript and assembled from shadcn ui components such as Sidebar, NavigationMenu, Command, Popover, DropdownMenu, Breadcrumb and Avatar, all styled with Tailwind CSS theme tokens. Pair them with our other shadcn blocks, such as stat cards, charts and tables, to turn the empty frame into a full dashboard.
Key Elements of an App Shell
- Primary navigation: a sidebar, an icon rail or a horizontal menu that stays on every page.
- Header utilities: search, messages, notifications and a theme or settings control.
- User menu: an avatar dropdown with account, billing, notification settings and log out.
- Context cues: a breadcrumb, a page title or an active state that shows where users are.
- Secondary areas: workspace switchers, project lists or goal widgets for apps that need more than links.
- Content region: an inset area with consistent padding that holds each page.
Where and Why to Use App Shell Blocks
The shell is the first thing users see after signing in and the part they use most often. Building it from scratch means solving collapsing sidebars, mobile sheets, keyboard shortcuts and popover positioning before any real feature exists. A shell block gives you those pieces working together, built on shadcn components that already follow your Tailwind CSS theme.
- SaaS admin panels: a sidebar with grouped links, command search and inbox popovers.
- Developer platforms: a double sidebar with a workspace switcher for APIs or environments.
- Community and support portals: a top navbar with a grouped sidebar that shows counts per category.
- Finance or service apps: a floating sidebar with goal progress, budget figures and service shortcuts.
- Product suites: a horizontal mega menu that groups dashboards, apps and pages.
App Shell Blocks in This Collection
- App Shell 1: The most complete classic layout. Choose it for document or project heavy apps that want progress per project in the sidebar and command search, messages and notifications in the header.
- App Shell 2: Built for apps with many settings pages across several workspaces, where a slim icon rail handles top level areas and a second panel handles the details.
- App Shell 3: A compact rail where every item keeps a visible label, useful when icons alone would be ambiguous.
- App Shell 4: A softer, card based look with a tall header that cards overlap. Fits store or product admin apps that want a prominent title and search.
- App Shell 5: Header first navigation with mega menu panels and page level Filter and Create actions, for apps where most work starts from the top bar.
- App Shell 6: Suits forums, help centers and Q and A tools that need a navbar plus a category sidebar with counts.
- App Shell 7: Turns the sidebar into a small dashboard of its own, a match for budgeting, booking or service apps that want goals and shortcuts always visible.
- App Shell 8: A modern floating look for both sidebar and header, with a primary Quick Create action that stays visible even in icon mode.
- App Shell 9: A top navigation shell that only uses a sidebar on phones, so desktop users get the full width for content.
Similar Block Categories
- Page Layouts: lighter app frames when you need fewer header features.
- Dashboard Dropdowns: richer account, notification and workspace menus for the header.
- Stat Cards: replace the placeholder tiles with real metrics.
- Charts: fill the large content panel with analytics.
- Tables: list records inside the frame.
Accessibility
The shells rely on shadcn primitives with built in keyboard support: the sidebar toggles with Cmd or Ctrl plus B and opens as a focus trapping sheet on phones, dropdown menus and popovers close with Escape, and the CommandDialog in Shell 1, 7 and 8 has a title and description for screen readers. Icon only controls such as search, messages, notifications, theme and settings carry sr-only text, and icon rail links keep their names in sr-only spans and tooltips.
A few spots need attention when you adapt the code. The search input in Shell 4 has only a placeholder, so consider adding an aria-label. The header avatar in Shell 5 is a static image rather than a menu button, and the mail and bell buttons in Shell 9 have no text alternative. Consider marking the current page link with aria-current, since the active state is only visual today.
Shadcn App Shell Blocks for AI Agents
A dashboard shell gives an agent the permanent frame of an admin app, and the 32 variants span sidebars, icon rails, floating sidebars and top navigation with mega menus. App Shell 1, 7 and 8 already include a Cmd or Ctrl plus K command dialog. The content area holds placeholder tiles, so the agent can drop your pages or other blocks straight into it.
Install it with an AI agent
Claude Code, Cursor, Codex and other agents can install these with the shadcn CLI, for example npx shadcn@latest add @shadcnuikit/dashboard-shell10. With the Shadcn UI Kit MCP server, your agent can search every variant by name and add the right one for you. To give it full context, share /blocks/dashboard-ui/app-shell.md, the Markdown version of this page with every variant and install command.
Example prompts
- “Make App Shell 8 our app layout in app/(app)/layout.tsx and render each route inside its content area.”
- “Use App Shell 2 and fill the workspace switcher from our organizations API with the active one checked.”
- “Add App Shell 5 and build the mega menu groups from our existing routes config.”
Customize it with AI
Each shell is split into small files like app-sidebar, site-header and nav components, so ask the agent to edit the navigation data rather than the markup. Mark links as active from the current pathname and connect the avatar menu to your auth session. Replace the placeholder tiles with real pages instead of nesting another layout inside them.
App Shell FAQ
--sidebar-width and --header-height, both written as multiples of the Tailwind spacing unit. For example App Shell 1 uses 72 units for the sidebar and 12 for the header, App Shell 3 a narrow 28 unit rail and App Shell 4 a 44 unit tall header. Change the numbers and the whole frame follows.collapsible="icon", so the trigger shrinks the sidebar to icons with tooltips. App Shell 3 and App Shell 4 are narrow rails by design and slide out completely when toggled. The other shells hide the sidebar offcanvas or have no sidebar on desktop.lucide-react icons. App Shell 9 also uses the useIsMobile hook from the shadcn sidebar setup, and the progress rings in App Shell 1 are plain inline SVG, so no chart library is required.
