Contact Form

A two-column contact section with floating labels, a budget switch and a progress button.

Open

Installation

Installs the block and every component it uses.

npx shadcn@latest add https://ombakui.com/r/contact-form.json

Usage

Every prop has a default, so it renders as shown. Pass your own copy and links.

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

export default function Page() {
  return <ContactForm />;
}

Props

PropTypeDefaultDescription
eyebrowstring–
titlestring–
descriptionReactNode–
budgetsstring[]–Budget options for the segmented control. Pass [] to hide it.
channels{ label: string; value: string; href: string }[]–Other ways to reach you, shown under the intro.
onSubmit(data: ContactData) => Promise<unknown> | unknown–Called with the form values. Resolve for success; throw to show an error.
classNamestring–