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

# Form

> A modular, composable form system with accessible inputs, textareas, custom selects, checkboxes, radio groups, switches, and animated validation messages.

## Install

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

## Dependencies

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

## Usage

```tsx
"use client";

import { Form as Form } from "@/components/blocks/form";

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

## Source Files

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