---
title: "Sheet | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/sheet"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/craft/sheet.tsx"
install_command: "npx motion-ui-skill add sheet"
dependencies: ["clsx","lucide-react","motion","react","react-dom","tailwind-merge"]
category: "craft"
subcategory: "craft"
---

# Sheet

> A draggable sheet / drawer that slides in from any side and can be dragged away to dismiss — swipe left/right sheets anywhere on touch, top/bottom sheets via the grab handle. Springs back if you let go early.

## Install

```bash
npx motion-ui-skill add sheet
```

## Dependencies

- `clsx`
- `lucide-react`
- `motion`
- `react`
- `react-dom`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { Sheet as Sheet } from "@/components/craft/sheet";

export function Example() {
  return (
    <div className="p-6">
      <Sheet />
    </div>
  );
}
```

## Source Files

- [components/craft/sheet.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/craft/sheet.tsx)
- [lib/portal.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/portal.tsx)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
