Contact Form
Contact Form: Contact form with honeypot spam guard, character count, field validation, loading state, and success confirmation screen. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Contact Form
npx motion-ui-skill add contact-formComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactreacttailwind-merge
Source files
Contact Form
Contact form with honeypot spam guard, character count, field validation, loading state, and success confirmation screen.
Install
npx motion-ui-skill add contact-form
Dependencies
clsxlucide-reactreacttailwind-merge
Usage
"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 |