# Support Hub block

> Help and support hub dialog with self-serve routes plus advisor and direct-desk escalation cards

Support hub modal: help routes (guides, walkthroughs, feedback) above an escalation grid pairing an advisor office-hours card with an email-support desk. Uses shadcn Dialog, Item, Card, Avatar, Button and ReUI Badge. Contact support, help center.

- Type: Pro block
- Category: [Dialog](https://web.dev.reui.io/blocks/application/dialog.md)
- Page: https://web.dev.reui.io/blocks/application/dialog/dialog-7
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/dialog.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/dialog.md
- MCP: `get_block("dialog-7")`
- Built with: Avatar, Badge, Button, Card, Dialog, Item, Separator
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A support menu with no inputs: 3 self serve route rows above an advisor booking card and an email desk card

## Agent notes

- Every route and card button has no handler, and `HelpRoute` and `SupportCardRecord` carry no link field to wire
- Replace `HELP_ROUTES` and `SUPPORT_CARDS` in data.tsx; the advisor `imageUrl` is a picsum.photos placeholder
- `DirectSupportCard` only checks that `icon` is set and always draws a mail glyph, so a new `icon` value never shows

## When not to use

- A help panel docked to the screen edge, with search and grouped guides: use [Help Center](https://web.dev.reui.io/blocks/application/sheet/sheet-2.md) (`get_block("sheet-2")`)
- Common questions answered in place, beside a contact card on a public page: use [Support Sidecard FAQ](https://web.dev.reui.io/blocks/marketing/faq/faq-5.md) (`get_block("faq-5")`)

## Install

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

## About Dialog blocks

### When to use

- New record forms over the current page: a project, a quick task or entry, or a finance account
- Access flows: email invites with a role, an app picker and the consent step before a sync
- Pickers and account tasks: a time span, a starter template, settings, a checklist, cancellation or help

### When not to use

- A plain modal shell you fill with your own title, body and buttons: use [Dialog](https://web.dev.reui.io/components/dialog.md) (`get_component("dialog")`)
- A data entry layout that sits in the page itself rather than over it: use the [Form blocks](https://web.dev.reui.io/blocks/application/form.md)
- A one question confirm, such as deleting a record, with nothing to fill in: use [Alert Dialog](https://web.dev.reui.io/components/alert-dialog.md) (`get_component("alert-dialog")`)

### Agent notes

- Each root renders its own launch `Button` and starts `open` as true in `useState`; swap in your trigger and start it closed
- Primary actions only close through `setOpen`, fire a sonner `toast` or have no handler; wire your submit and API call there
- Each page.tsx centers the root in a `min-h-svh` main with an `sr-only` h1; mount only the root component inside your page

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.
