# Team Presence block

> Sticky workspace navbar with breadcrumb trail, team presence avatars, and filter and sort menus

Slim sticky app bar: breadcrumb trail, team avatar group with invite popover, and filter, sort, and overflow dropdown menus. shadcn Breadcrumb, AvatarGroup, Popover, DropdownMenu, Button. For workspace headers and project toolbars.

- Type: Pro block
- Category: [Navbar](https://web.dev.reui.io/blocks/application/navbar.md)
- Page: https://web.dev.reui.io/blocks/application/navbar/navbar-2
- MCP: `get_block("navbar-2")`
- Built with: Avatar, Breadcrumb, Button, Dropdown Menu, Input, Popover, Separator
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

An email invite popover beside a +8 avatar stack, with All, Active and Archived filter and Date, Name and Status sort menus

## Agent notes

- `TEAM_MEMBERS` and `TEAM_EXTRA_COUNT` are fixed sample data, so the +8 is a number and not counted from a list
- `handleInvite` only clears the email and closes the popover, so send the invitation from it
- `FILTER_OPTIONS` and `SORT_OPTIONS` only set `filter` and `sort` state; nothing filters or sorts until you pass them on

## When not to use

- A full layout with a collapsible sidebar, workspace switcher and nested nav: use [Icon Rail Dashboard](https://web.dev.reui.io/blocks/application/app-shell/app-shell-1.md) (`get_block("app-shell-1")`)
- A marketing site header with mega menu panels of linked pages: use [Marketing Mega Menu](https://web.dev.reui.io/blocks/application/navbar/navbar-12.md) (`get_block("navbar-12")`)

## Install

```bash
npx shadcn@latest add @reui/navbar-2
```

## About Navbar blocks

### When to use

- The top bar of a signed in product, with a breadcrumb or switchers, search, alerts, avatars or a user menu
- An editor toolbar with a back or close button, the page name and its run, publish or submit action
- A marketing site header with mega menu panels of linked pages and a Get Started button

### When not to use

- A whole product layout with a side rail, a header and the content area together: use the [App Shell blocks](https://web.dev.reui.io/blocks/application/app-shell.md)
- A keyboard palette that lists, groups and filters results as you type: use [Command](https://web.dev.reui.io/components/command.md) (`get_component("command")`)
- The account settings page a user menu opens, with team, billing and API key forms: use the [Profile blocks](https://web.dev.reui.io/blocks/application/profile.md)

### Agent notes

- `Navbar` takes no props, so every label, person and option it shows is fixed in the block; lift them into props to reuse it
- No button, link or menu item routes or calls an API; add an `onClick` or a real `href` where each one should go
- Each page.tsx adds only demo padding or dashed placeholder boxes around `Navbar`, none of which belongs in your layout

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.
