# Shadcn Sheet

> Open-source shadcn sheet components for slide-over details, side panels, and task flows.

- Type: shadcn/ui component, free
- Page: https://web.dev.reui.io/components/sheet
- 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_component("sheet")`, then `get_examples("sheet")`
- Examples: 4

## When to use

- Edit forms and long scrolling content that slide in from a screen edge over the page
- Panels pinned to the top, right, bottom or left edge, with their own footer actions

## When not to use

- A touch panel the user drags or swipes closed: use [Drawer](https://web.dev.reui.io/components/drawer.md) (`get_component("drawer")`)
- A ready made record detail, notification or settings panel: use the [Sheet blocks](https://web.dev.reui.io/blocks/application/sheet.md)
- A short decision or form that belongs in the middle of the screen: use [Dialog](https://web.dev.reui.io/components/dialog.md) (`get_component("dialog")`)

## Agent notes

- `SheetContent` draws its own corner close button; set `showCloseButton` to false when the footer closes it
- Top and bottom sheets grow with their content and have no height cap, so bound them as `c-sheet-3` does
- `SheetTrigger` and `SheetClose` take a `render` element on the base twin and `asChild` on the radix twin

## Examples

- [Profile Editor](https://web.dev.reui.io/components/sheet/c-sheet-1.md): Sheet containing a form for editing profile information. Best for a right side profile editor with 2 fields, Save changes, Cancel and the corner X.
- [No Close Button](https://web.dev.reui.io/components/sheet/c-sheet-2.md): Sheet without a corner close button. Best for the profile editor without the corner X, leaving footer Cancel as the visible way out.
- [Any Side](https://web.dev.reui.io/components/sheet/c-sheet-3.md): Sheets that open from any side. Best for one trigger per edge, top, right, bottom and left, with top and bottom sheets held to half the screen.
- [Scrollable Content](https://web.dev.reui.io/components/sheet/c-sheet-4.md): Sheet with scrollable content. Best for a long body in a ScrollArea between a pinned header and a Save and Cancel footer.

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.
