---
title: Sheet
description: A side panel that slides in from the edge of the screen.
links:
doc: https://base-ui.com/react/components/dialog#api-reference
---
## Installation
CLIManual
```bash
npx @olyx/cli@latest add sheet
```
Install the following dependencies:
```bash
npm install @base-ui/react
```
Copy and paste the following code into your project.Update the import paths to match your project setup.
## Usage
```tsx
import {
Sheet,
SheetClose,
SheetContent,
SheetDescription,
SheetFooter,
SheetHeader,
SheetPanel,
SheetTitle,
SheetTrigger,
} from "@/components/ui/sheet"
```
```tsx
OpenEdit Profile
Make changes to your profile here. Click save when you're done.
Content goes hereCancel
```
## API Reference
### Sheet
Root component. Alias for `Dialog.Root` from Base UI.
### SheetTrigger
Trigger button that opens the sheet. Alias for `Dialog.Trigger` from Base UI.
### SheetContent
Popup container that displays the sheet content. Also exported as `SheetPopup`.
| Prop | Type | Default |
| ----------------- | ---------------------------------------- | ----------- |
| `side` | `"right" \| "left" \| "top" \| "bottom"` | `"right"` |
| `variant` | `"default" \| "inset"` | `"default"` |
| `showCloseButton` | `boolean` | `true` |
### SheetHeader
Container for the sheet title and description.
### SheetFooter
Footer section for action buttons.
| Prop | Type | Default |
| --------- | --------------------- | ----------- |
| `variant` | `"default" \| "bare"` | `"default"` |
### SheetTitle
Title component. Alias for `Dialog.Title` from Base UI.
### SheetDescription
Description component. Alias for `Dialog.Description` from Base UI.
### SheetPanel
Scrollable content container.
### SheetClose
Close button component. Alias for `Dialog.Close` from Base UI.
### SheetPortal
Portal component for rendering outside the DOM hierarchy. Alias for `Dialog.Portal` from Base UI.
### SheetBackdrop
Backdrop/overlay component. Also exported as `SheetOverlay`. Alias for `Dialog.Backdrop` from Base UI.
## Examples
### Inset Variant
### Side Positions