# Relay Settings block

> Inset right settings sheet with scrollable two-section form, header and sticky footer

Floating inset right Sheet for relay settings, with scrollable Delivery and Routing sections, Input, Select, and Switch fields, tooltip hints, and a sticky Reset / Save footer. shadcn Sheet, Field, Select, Switch. Settings panel, preferences drawer.

- Type: Pro block
- Category: [Sheet](https://web.dev.reui.io/blocks/application/sheet.md)
- Page: https://web.dev.reui.io/blocks/application/sheet/sheet-8
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/sheet.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/sheet.md
- MCP: `get_block("sheet-8")`
- Built with: Button, Field, Input, Scroll Area, Select, Sheet, Switch, Tooltip
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

Label beside control rows for a notification relay: quiet hours, time zone, channel, digest cadence, and escalation and retry switches

## Agent notes

- `handleSubmit` only calls `preventDefault`, so Save Settings persists nothing; send the 11 relay settings held in state to your API
- `DEFAULT_RELAY_SETTINGS` seeds the values and Reset; option lists such as `REGION_CLOCK_OPTIONS` and `DIGEST_ROUTE_OPTIONS` are sample data
- The Save Settings submit button sits inside `SheetClose`, so the sheet closes on click whatever your submit does

## When not to use

- A full page of grouped options with per row controls, not a side panel: use the [Settings blocks](https://web.dev.reui.io/blocks/application/settings.md)

## Install

```bash
npx shadcn@latest add @reui/sheet-8
```

## About Sheet blocks

### When to use

- Record detail opened over a list or table: a ticket, metric, cron job, audit event, deploy, SLO or data source
- Create and edit forms in a side panel for a project, cron job, firewall rule, SLO or data connection
- Utility panels for help guides, keyboard shortcuts, an AI assistant, comments, notifications or view settings

### When not to use

- A bare side panel with your own header, body and footer, nothing prebuilt: use [Sheet](https://web.dev.reui.io/components/sheet.md) (`get_component("sheet")`)
- A persistent sidebar or navigation layout that stays around every page: use the [App Shell blocks](https://web.dev.reui.io/blocks/application/app-shell.md)
- An assistant conversation that fills the whole page rather than a side panel: use the [AI Chat blocks](https://web.dev.reui.io/blocks/ai-agents/ai-chat.md)

### Agent notes

- Each root renders a demo `SheetTrigger` button and opens on mount via `defaultOpen` or a `useState` seeded true; start it closed in your app
- Each `SheetContent` className floats it inset with `inset-y-4`, `right-4` and `rounded-xl` and sets its own width; resize it there, not in the primitive
- Each page.tsx only centers the trigger in a `min-h-svh` main with an `sr-only` h1; render the root component alone 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.
