Launch sale — 60% off Pro
Contact
FormMulti Field

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React Two Field Form

A React form with two fields for name and email using React Hook Form and Zod validation for simple contact forms built with shadcn/ui

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Contact forms need just enough fields to reach users without overwhelming them. This React form combines name and email validation using React Hook Form with Zod—minimum 2 characters for names, proper email format checking. Built with shadcn/ui Form components with space-y-4 vertical spacing and inline errors, it's perfect for newsletter signups, contact requests, or waitlist forms where you need basic contact info.

Your full name.

Your email address.

Pattern created by @haydenbleasel

Installation

Questions you might have