# Inventory Admin block

> Inset icon-rail sidebar app shell with per-section secondary nav, org/app/env switchers, and notifications

Two-level dashboard shell: icon rail plus a per-section secondary nav with live-metric/storage footers, org/app/env switchers, command-K search, and notifications drawer. ReUI Badge, Rating; shadcn Sidebar, Sheet, Dialog. Inventory, ops admin.

- 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-8
- 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-8")`
- Built with: Avatar, Badge, Breadcrumb, Button, Button Group, Card, Dialog, Dropdown Menu, Input, Input Group, Item, Kbd, Progress, Rating, Scroll Area, Separator, Sheet, Sidebar, Tooltip
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

An inventory and orders admin whose secondary nav swaps per rail section, each with its own footer card such as live stats or storage

## Agent notes

- Replace `NAV_ITEMS`, `INNER_NAV`, `NOTIFICATIONS`, `WORKSPACES`, `APPS` and `ENVIRONMENTS`; each `INNER_NAV` section mounts its card through `footer`
- `InnerSidebarStats` fakes Live Metrics: from mount a 1500ms `setInterval` jitters `METRICS_VARIANTS` with a seeded random
- The header Create menu items, plus Mark all as read, View all notifications and each action `Button` in `NotificationsDrawer`, have no handler

## When not to use

- The same org, product and environment crumbs over one sidebar and a live system monitor: use [Environment Switcher](https://web.dev.reui.io/blocks/application/app-shell/app-shell-7.md) (`get_block("app-shell-7")`)
- One collapsible sidebar with nested nav, pinned resources and a workspace switcher: use [Icon Rail Dashboard](https://web.dev.reui.io/blocks/application/app-shell/app-shell-1.md) (`get_block("app-shell-1")`)

## 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-8
```

## 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.
