# Sheet

Displays complementary content in a panel that slides in from an edge of the screen. Use it for focused tasks that should not replace the current page.

Package: `@kela-systems/ui-components` 4.1.0

```tsx
import { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription } from "@kela-systems/ui-components";
```

Links (Kela sign-in needed): [Storybook](https://main--6af1efd9453270bb59a6c00c.chromatic.com/?path=/docs/components-sheet--docs), [Source](https://github.com/Kela-Systems/kela/tree/main/packages/next/ui-components/src/sheet), [Figma](https://www.figma.com/design/anhlwrbFM6mUiL0klxeK1I/ARK---Design-System?node-id=216-3314)

## Props

A `className` on a part adds layout only: placement, sizing and spacing. Pick a look with a variant.

### Sheet

Also takes the props of `@base-ui/react/dialog`.

### SheetTrigger

Also takes the props of `@base-ui/react/dialog`.

### SheetClose

Also takes the props of `@base-ui/react/dialog`.

### SheetContent

| Variant | Values | Default |
| --- | --- | --- |
| `side` | `top`, `bottom`, `start`, `end` | `end` |

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `showCloseButton` | `boolean` | `true` |  |
| `closeLabel` | `string` | `Close` |  |

Also takes the props of `@base-ui/react/dialog`.

### SheetHeader

Also takes the attributes of the HTML element it renders.

### SheetFooter

Also takes the attributes of the HTML element it renders.

### SheetTitle

Also takes the props of `@base-ui/react/dialog`.

### SheetDescription

Also takes the props of `@base-ui/react/dialog`.

## Related

- [Drawer](https://ark.kela.design/product/components/drawer.md)
- [Dialog](https://ark.kela.design/product/components/dialog.md)
