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

# OriginDropdown

> A dropdown with origin-aware expansion — the menu materializes from the chosen side with a slight scale and an inward translation, so its perceived origin is the trigger edge closest to the menu.

## Install

```bash
npx motion-ui-skill add origin-dropdown
```

## Dependencies

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

## Usage

```tsx
"use client";

import { OriginDropdown as OriginDropdown } from "@/components/craft/origin-dropdown";

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

## Source Files

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