Component

ContactForm

Client-side contact enquiry form. Submits to the submitContactEnquiry Cloud Function and shows inline success/error feedback.

Usage

live editor β€” edit to update preview
<ContactForm site="anntech" />

Custom placeholder and success message

live editor β€” edit to update preview
<ContactForm
  site="annsolutions"
  messagePlaceholder="Tell us about your project..."
  successMessage="Thanks! We'll be in touch within 24 hours."
/>

Props

PropTypeDefaultDescription
site*stringβ€”Site identifier sent with the enquiry payload (e.g. "anntech", "annsolutions").
messagePlaceholderstring"How can we help you?"Placeholder text for the message textarea.
successMessagestring"We will get back to you within one business day."Message shown after a successful submission.