# Ops Presence Console block

> Inset notifications sheet app shell with route search palette and topbar section pills

Robotics ops shell: section nav folding into a bottom Drawer, ops toggles, presence status avatar badges and a sidebar footer account card. shadcn Sidebar, Sheet, Dialog, Drawer, DropdownMenu; ReUI Badge, Rating. Fleet admin, warehouse console.

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

## Best for

A top bar whose section pills fold into a bottom drawer, a route search that sets the sidebar route and a presence status menu on the avatar

## Agent notes

- Every `TOP_NAV` section shows the same `NAV_GROUPS`; give each section its own groups so the sidebar swaps on switch
- Replace `NAV_GROUPS`, `NOTIFICATIONS`, `MISSION_TEMPLATES` and `CURRENT_USER` in data.tsx with your own routes, feed and account
- The `UserMenu` status and `SettingsMenu` toggles live in local state, and the notification buttons and Mark all as read do nothing

## When not to use

- A side nav that swaps its links for each section, with a footer card per section: use [Inventory Admin](https://web.dev.reui.io/blocks/application/app-shell/app-shell-8.md) (`get_block("app-shell-8")`)
- Team and project crumb switchers in the top bar and a 9 tile launcher menu: use [Team Project Switcher](https://web.dev.reui.io/blocks/application/app-shell/app-shell-23.md) (`get_block("app-shell-23")`)

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

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