# Endpoint Protection block

> Fleet protection app shell with endpoint and threat counts, mission dialog and docked AI assistant

Endpoint security console: Security, Assets, Events scope tree with drag-to-reorder and Add drafts, and an assistant that answers from fleet runbooks and shows what it read. ReUI Sortable, Badge; shadcn Dialog, Combobox, MessageScroller. EDR, SOC.

- Type: Pro block
- Category: [App Shell](https://reui.io/blocks/application/app-shell.md)
- Page: https://reui.io/blocks/application/app-shell/app-shell-32
- 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-32")`
- Built with: Avatar, Badge, Bubble, Button, Calendar, Card, Checkbox, Collapsible, Combobox, Dialog, Dropdown Menu, Empty, Field, Icon Stack, Icon Tile, Input Group, Item, Kbd, Marker, Message Scroller, Separator, Sheet, Sidebar, Skeleton, Sortable, Spinner, Tabs, Textarea, Toggle Group, Tooltip
- Installs with a ReUI Pro or Ultimate license; setup: https://reui.io/docs/license-setup

## Best for

Header Endpoints and Threats pills read from the scope tree, a menu hiding tree counts or status and an assistant that cites runbooks

## Agent notes

- `composeReply` picks canned `REPLY_LIBRARY` answers by keyword and `escalate` files no real incident; wire your model, `RUNBOOKS` and paging
- `MissionDialog` only fires a toast from `handleCreate` and closes; send the draft, status, assignee, due date and labels to your API
- `SCOPES` holds the sample trees; the header pills read the first scope's devices and threats counts through `countOf`

## When not to use

- A security top bar with a workspace picker, Cmd+K search and a notifications feed: use [Security Scope Console](https://reui.io/blocks/application/app-shell/app-shell-26.md) (`get_block("app-shell-26")`)
- A drag to reorder list on its own, outside any app layout: use [Sortable](https://reui.io/components/sortable.md) (`get_component("sortable")`)

## Install

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

## 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://reui.io/blocks/application/dashboard.md)
- A top bar on its own, above a page layout you already have: use the [Navbar blocks](https://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://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
