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

# Contact Form

> Contact form with honeypot spam guard, character count, field validation, loading state, and success confirmation screen.

## Install

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

## Dependencies

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

## Usage

```tsx
"use client";

import { ContactForm } from "@/components/forms/contact-form";

export function ContactFormDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <ContactForm />
    </div>
  );
}
```

## API Reference

### ContactForm

| Prop | Type | Default | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| `className` | `string` | — | No | Additional CSS classes |

## Source Files

- [components/forms/contact-form.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/forms/contact-form.tsx)
- [lib/cn.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/cn.ts)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
