# CMS Publish Bar block

> CMS editor navbar with co-presence avatars and a split Publish button

Sticky editor toolbar for content apps: back link and breadcrumb, AvatarGroup co-presence, Preview, and a ButtonGroup split Publish with Schedule and Save as draft, plus a more-actions DropdownMenu (duplicate, history, archive, delete).

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

## Best for

A split Publish button whose chevron offers Schedule for later and Save as draft, beside Preview and 3 viewer avatars

## Agent notes

- `VIEWERS` is a fixed list of 3 sample avatars and not live presence, so feed it from your own collaboration source
- Preview, Publish and the Schedule for later and Save as draft items in `NavbarPublish` have no handler
- `NavbarDoc` has only a back `Button` and the fixed text Blog Posts, so add the document title and any status yourself

## When not to use

- A compact bar with a close button, a title and a single submit button: use [Editor Action Bar](https://web.dev.reui.io/blocks/application/navbar/navbar-13.md) (`get_block("navbar-13")`)
- A workflow builder bar with an active switch and a run action: use [Workflow Editor](https://web.dev.reui.io/blocks/application/navbar/navbar-5.md) (`get_block("navbar-5")`)

## Install

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

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