Contact Form

Contact form validation with name, email, subject, message, and optional phone (E.164).

Report an issue
forms

Install

$ npx shadcn@latest add @open-types/contact-form

Source

export interface ContactForm {
  name: string;
  email: string;
  subject: string;
  message: string;
  phone?: string;
}
export interface ContactForm {
  name: string;
  email: string;
  subject: string;
  message: string;
  phone?: string;
}