# Dual Sidebar Dashboard block

> Dual sidebar app shell with icon rail and collapsible secondary navigation panel

Two-level dashboard layout: icon rail plus a toggleable secondary nav that swaps per section, with workspace switcher, breadcrumb header, search, and account menu with theme toggle. ReUI Badge, shadcn Sidebar, DropdownMenu, Avatar.

- Type: Pro block
- Category: [App Shell](https://web.dev.reui.io/blocks/application/app-shell.md)
- Page: https://web.dev.reui.io/blocks/application/app-shell/app-shell-16
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/sidebar.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/sidebar.md
- MCP: `get_block("app-shell-16")`
- Built with: Avatar, Badge, Button, Card, Dialog, Dropdown Menu, Input, Item, Scroll Area, Sidebar
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A rounded black icon rail with Inbox, Calendar and Settings menus at its foot, beside a nav column topped by a workspace switcher

## Agent notes

- `INNER_NAV` only has an `updates` entry, so every `NAV_ITEMS` rail icon shows the same sections; add an entry per rail id
- Replace `WORKSPACES`, `USER` and the Metronic and KeenThemes Studio sample labels in `INNER_NAV` with your own
- The Reports and Add menu items, `RailAction` items, the Workspaces plus menu and New Workspace have no click handler

## When not to use

- A secondary nav whose links and footer card change for each rail section: use [Inventory Admin](https://web.dev.reui.io/blocks/application/app-shell/app-shell-8.md) (`get_block("app-shell-8")`)
- List, Kanban, Calendar and Dashboard view tabs with Sort and Filter over the page: use [View Toolbar Workspace](https://web.dev.reui.io/blocks/application/app-shell/app-shell-14.md) (`get_block("app-shell-14")`)

## Third-party libraries

- next-themes: [API reference](https://github.com/pacocoursey/next-themes#api), [docs](https://github.com/pacocoursey/next-themes)

## Install

```bash
npx shadcn@latest add @reui/app-shell-16
```

## About App Shell blocks

### When to use

- The outer layout of a multi page product: the navigation around its content area
- Dashboards and admin consoles that switch between workspaces or projects

### When not to use

- One overview page of stats, charts and tables inside your own layout: use the [Dashboard blocks](https://web.dev.reui.io/blocks/application/dashboard.md)
- A top bar on its own, above a page layout you already have: use the [Navbar blocks](https://web.dev.reui.io/blocks/application/navbar.md)

### Agent notes

- Shells that switch themes call `useTheme` from next-themes, so the app must mount the next-themes ThemeProvider

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
