# Section Tabs Admin block

> Single rounded-panel app shell framing a grouped nav rail and body under top icon section tabs

Robot admin console: section tabs collapse to a current-section dropdown and the rail to a Sheet below lg, Cmd+K search Dialog, 3-alert notifications menu. shadcn Sidebar, Sheet, DropdownMenu, ToggleGroup. Ops, logistics dashboard.

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

## Best for

Icon section buttons in the top bar over one rounded panel holding a 3 group fleet rail and the page body, with a 3 alert menu

## Agent notes

- Replace `SECTION_NAV`, `SIDEBAR_NAV`, `NOTIFICATIONS` and `OPERATOR` in data.tsx with your own sections, routes, alerts and user
- The New Mission button and the Fleet Preferences, Access Rules and Data Sync rows in `TopbarActions` have no click handlers
- The `SearchMenu` dialog in the top bar has no change handler or result list, so wire it to robot and mission search

## When not to use

- A page whose side tabs switch account, security and billing panes: use the [Settings blocks](https://web.dev.reui.io/blocks/application/settings.md)
- A top bar that also switches team and project through breadcrumb menus: 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-28
```

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