---
title: "Family Drawer | Free React & Tailwind Blocks Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/blocks/family-drawer"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/blocks/family-drawer.tsx"
install_command: "npx motion-ui-skill add family-drawer"
dependencies: ["clsx","motion","react","react-dom","react-use-measure","tailwind-merge","vaul"]
category: "blocks"
subcategory: "blocks"
---

# Family Drawer

> A bottom drawer with smooth, morphing transitions between stacked views, inspired by the Family app. Built on Vaul.

## Install

```bash
npx motion-ui-skill add family-drawer
```

## Dependencies

- `clsx`
- `motion`
- `react`
- `react-use-measure`
- `tailwind-merge`
- `vaul`

## Usage

```tsx
"use client";

import FamilyDrawer from "@/components/blocks/family-drawer";

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

## Source Files

- [components/blocks/family-drawer.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/blocks/family-drawer.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)
