Veil UI
Components

Contact Page

A contact page pairing a form with support channels and FAQ.

Installation

$ npx veil-ui@latest add contact-page

Usage

import { ContactPage } from "@/components/ui/contact-page";

<ContactPage />;

Examples

Basic

VVeil UI

Contact

Let's talk about your project

Questions about the registry, licensing or a custom engagement? Send a note and we will reply within one business day.

Send a message
Fields marked with an asterisk are required.

Email

hello@veil-ui.dev

Best for general questions and partnerships.

Phone

+1 (555) 014-2048

Weekdays, 9:00–17:00 UTC.

Live chat

Available in the app

Fastest way to reach support.

Office

Rua do Sol 12, Lisbon

Visits by appointment.

Average response time: under 4 hours

Before you write

Answers to the questions we get most often.

API reference

The package exports contact-page along with its composable parts. It forwards standard attributes to its root element; see the examples above for the component-specific props.

Accessibility

  • Page templates use semantic landmarks and a single page-level heading.
  • Navigation links and actions have discernible names and visible focus styles.
  • Decorative imagery uses empty alt text; content images carry descriptions.

Vue and plain HTML

This component also ships for Vue (Reka UI) and plain HTML. Install it with npx veil-ui add contact-page --framework vue or switch the framework in components.json.

<template>
<div data-slot="contact-page" class="w-full overflow-hidden rounded-xl border bg-background min-h-[600px]"><header data-slot="navbar" class="mx-auto flex h-14 w-full max-w-7xl items-center gap-4 bg-background/95 px-4 backdrop-blur sm:px-6 border-b"><div data-slot="logo" class="inline-flex items-center gap-1.5"><span data-slot="logo-mark" class="flex shrink-0 items-center justify-center overflow-hidden rounded-md size-6"><span class="grid size-full place-items-center bg-primary text-[10px] font-bold text-primary-foreground">V</span></span><span data-slot="logo-name" class="font-semibold tracking-tight text-sm">Veil UI</span></div><nav aria-label="Primary" class="ml-6 hidden items-center gap-1 md:flex"><a href="#" class="rounded-md px-2.5 py-1.5 text-sm text-muted-foreground transition-colors hover:bg-accent hover:text-foreground">Product</a><a href="#" class="rounded-md px-2.5 py-1.5 text-sm text-muted-foreground transition-colors hover:bg-accent hover:text-foreground">Components</a><a href="#" class="rounded-md px-2.5 py-1.5 text-sm text-muted-foreground transition-colors hover:bg-accent hover:text-foreground">Pricing</a><a href="#" class="rounded-md px-2.5 py-1.5 text-sm text-muted-foreground transition-colors hover:bg-accent hover:text-foreground">Contact</a></nav><button data-slot="button" data-variant="default" data-size="sm" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 bg-primary text-primary-foreground hover:bg-primary/90 h-8 rounded-md px-3 text-xs ml-auto">Get started</button></header><div class="mx-auto w-full max-w-6xl px-6 py-14"><div class="max-w-2xl"><p class="text-sm font-medium text-primary">Contact</p><h1 class="mt-2 text-3xl font-semibold tracking-tight sm:text-4xl">Let&#x27;s talk about your project</h1><p class="mt-3 text-muted-foreground">Questions about the registry, licensing or a custom engagement? Send a note and we will reply within one business day.</p></div><div class="mt-10 grid gap-6 lg:grid-cols-[1.5fr_1fr]"><div data-slot="card" class="flex flex-col gap-4 rounded-lg border bg-card py-5 text-card-foreground shadow-xs"><div data-slot="card-header" class="grid auto-rows-min items-start gap-1 px-5 has-[[data-slot=card-action]]:grid-cols-[1fr_auto]"><div data-slot="card-title" class="text-base font-medium leading-none">Send a message</div><div data-slot="card-description" class="text-sm text-muted-foreground">Fields marked with an asterisk are required.</div></div><div data-slot="card-content" class="px-5 grid gap-4"><div class="grid gap-4 sm:grid-cols-2"><div class="space-y-1.5"><label data-slot="label" class="flex select-none items-center gap-2 text-sm font-medium leading-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50" for="contact-name">Name *</label><input data-slot="input" class="h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs outline-none transition-[color,box-shadow,border-color] placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30" id="contact-name" placeholder="Ada Lovelace" required=""/></div><div class="space-y-1.5"><label data-slot="label" class="flex select-none items-center gap-2 text-sm font-medium leading-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50" for="contact-email">Email *</label><input type="email" data-slot="input" class="h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs outline-none transition-[color,box-shadow,border-color] placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30" id="contact-email" placeholder="ada@example.com" required=""/></div></div><div class="space-y-1.5"><label data-slot="label" class="flex select-none items-center gap-2 text-sm font-medium leading-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50" for="contact-topic">Topic</label><button type="button" role="combobox" aria-expanded="false" aria-autocomplete="none" dir="ltr" data-state="closed" data-slot="select-trigger" class="flex h-9 items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs outline-none transition-[color,box-shadow,border-color] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;&gt;span]:truncate [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 w-full" id="contact-topic"><span style="pointer-events:none"></span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-4 opacity-50" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button><select aria-hidden="true" tabindex="-1" style="position:absolute;border:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;word-wrap:normal"></select></div><div class="space-y-1.5"><label data-slot="label" class="flex select-none items-center gap-2 text-sm font-medium leading-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50" for="contact-message">Message *</label><textarea data-slot="textarea" class="flex min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs outline-none transition-[color,box-shadow,border-color] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50 field-sizing-content dark:bg-input/30" id="contact-message" rows="5" placeholder="Tell us a bit about what you need…" required=""></textarea></div><div class="flex items-start gap-2"><button type="button" role="checkbox" aria-checked="false" data-state="unchecked" value="on" data-slot="checkbox" class="peer size-4 shrink-0 rounded-sm border border-input shadow-xs outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground" id="contact-consent"></button><input type="checkbox" aria-hidden="true" tabindex="-1" style="position:absolute;pointer-events:none;opacity:0;margin:0;transform:translateX(-100%)" value="on"/><label data-slot="label" class="flex select-none items-center gap-2 group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50 text-sm font-normal leading-snug" for="contact-consent">I agree to the privacy policy and to being contacted about my request.</label></div><div class="flex justify-end"><button data-slot="button" data-variant="default" data-size="default" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 bg-primary text-primary-foreground hover:bg-primary/90 h-9 px-4 py-2" type="submit">Send message</button></div></div></div><div class="space-y-4"><div class="flex gap-3 rounded-lg border bg-card p-4"><span class="flex size-9 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-mail size-4" aria-hidden="true"><path d="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7"></path><rect x="2" y="4" width="20" height="16" rx="2"></rect></svg></span><div class="min-w-0"><p class="text-sm font-medium">Email</p><p class="text-sm">hello@veil-ui.dev</p><p class="mt-0.5 text-xs text-muted-foreground">Best for general questions and partnerships.</p></div></div><div class="flex gap-3 rounded-lg border bg-card p-4"><span class="flex size-9 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-phone size-4" aria-hidden="true"><path d="M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384"></path></svg></span><div class="min-w-0"><p class="text-sm font-medium">Phone</p><p class="text-sm">+1 (555) 014-2048</p><p class="mt-0.5 text-xs text-muted-foreground">Weekdays, 9:00–17:00 UTC.</p></div></div><div class="flex gap-3 rounded-lg border bg-card p-4"><span class="flex size-9 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square size-4" aria-hidden="true"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"></path></svg></span><div class="min-w-0"><p class="text-sm font-medium">Live chat</p><p class="text-sm">Available in the app</p><p class="mt-0.5 text-xs text-muted-foreground">Fastest way to reach support.</p></div></div><div class="flex gap-3 rounded-lg border bg-card p-4"><span class="flex size-9 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-map-pin size-4" aria-hidden="true"><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"></path><circle cx="12" cy="10" r="3"></circle></svg></span><div class="min-w-0"><p class="text-sm font-medium">Office</p><p class="text-sm">Rua do Sol 12, Lisbon</p><p class="mt-0.5 text-xs text-muted-foreground">Visits by appointment.</p></div></div><div class="flex items-center gap-2 rounded-lg border bg-muted/30 p-4 text-sm text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clock size-4" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="M12 6v6l4 2"></path></svg>Average response time: under 4 hours</div></div></div><div class="mt-16"><div data-slot="faq-section" class="grid gap-6"><div class="mx-auto max-w-2xl text-center"><h2 class="text-2xl font-semibold tracking-tight">Before you write</h2><p class="mt-2 text-sm text-muted-foreground">Answers to the questions we get most often.</p></div><div class="mx-auto w-full max-w-3xl rounded-lg border px-5" data-orientation="vertical"><div data-state="closed" data-orientation="vertical" data-slot="accordion-item" class="border-b last:border-b-0"><h3 data-orientation="vertical" data-state="closed" class="flex"><button type="button" aria-expanded="false" data-state="closed" data-orientation="vertical" id="radix-_R_3e_" data-slot="accordion-trigger" class="group flex flex-1 items-center justify-between gap-4 py-4 text-left text-sm font-medium outline-none transition-colors hover:text-foreground/80 focus-visible:ring-2 focus-visible:ring-ring" data-radix-collection-item="">Can I use Veil UI in a commercial product?<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-4 shrink-0 text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button></h3><div data-state="closed" id="radix-_R_be_" hidden="" role="region" aria-labelledby="radix-_R_3e_" data-orientation="vertical" data-slot="accordion-content" class="overflow-hidden data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up" style="--radix-accordion-content-height:var(--radix-collapsible-content-height);--radix-accordion-content-width:var(--radix-collapsible-content-width)"></div></div><div data-state="closed" data-orientation="vertical" data-slot="accordion-item" class="border-b last:border-b-0"><h3 data-orientation="vertical" data-state="closed" class="flex"><button type="button" aria-expanded="false" data-state="closed" data-orientation="vertical" id="radix-_R_5e_" data-slot="accordion-trigger" class="group flex flex-1 items-center justify-between gap-4 py-4 text-left text-sm font-medium outline-none transition-colors hover:text-foreground/80 focus-visible:ring-2 focus-visible:ring-ring" data-radix-collection-item="">Do you offer implementation support?<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-4 shrink-0 text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button></h3><div data-state="closed" id="radix-_R_de_" hidden="" role="region" aria-labelledby="radix-_R_5e_" data-orientation="vertical" data-slot="accordion-content" class="overflow-hidden data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up" style="--radix-accordion-content-height:var(--radix-collapsible-content-height);--radix-accordion-content-width:var(--radix-collapsible-content-width)"></div></div><div data-state="closed" data-orientation="vertical" data-slot="accordion-item" class="border-b last:border-b-0"><h3 data-orientation="vertical" data-state="closed" class="flex"><button type="button" aria-expanded="false" data-state="closed" data-orientation="vertical" id="radix-_R_7e_" data-slot="accordion-trigger" class="group flex flex-1 items-center justify-between gap-4 py-4 text-left text-sm font-medium outline-none transition-colors hover:text-foreground/80 focus-visible:ring-2 focus-visible:ring-ring" data-radix-collection-item="">How do I report a bug?<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-4 shrink-0 text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button></h3><div data-state="closed" id="radix-_R_fe_" hidden="" role="region" aria-labelledby="radix-_R_7e_" data-orientation="vertical" data-slot="accordion-content" class="overflow-hidden data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up" style="--radix-accordion-content-height:var(--radix-collapsible-content-height);--radix-accordion-content-width:var(--radix-collapsible-content-width)"></div></div></div></div></div></div><footer data-slot="marketing-footer" class="border-t bg-muted/20 px-6 py-12 border-x-0 border-b-0"><div class="mx-auto grid w-full max-w-6xl gap-10 md:grid-cols-[1.5fr_repeat(3,1fr)]"><div><p class="text-base font-semibold tracking-tight">Veil UI</p><p class="mt-2 max-w-xs text-sm text-muted-foreground">Accessible primitives and page sections for product teams.</p></div><nav aria-label="Product"><p class="text-xs font-semibold uppercase tracking-wide text-muted-foreground">Product</p><ul class="mt-3 grid gap-2 text-sm"><li><a href="#" class="text-muted-foreground transition-colors hover:text-foreground">Components</a></li><li><a href="#" class="text-muted-foreground transition-colors hover:text-foreground">Templates</a></li><li><a href="#" class="text-muted-foreground transition-colors hover:text-foreground">Pricing</a></li></ul></nav><nav aria-label="Company"><p class="text-xs font-semibold uppercase tracking-wide text-muted-foreground">Company</p><ul class="mt-3 grid gap-2 text-sm"><li><a href="#" class="text-muted-foreground transition-colors hover:text-foreground">About</a></li><li><a href="#" class="text-muted-foreground transition-colors hover:text-foreground">Journal</a></li><li><a href="#" class="text-muted-foreground transition-colors hover:text-foreground">Contact</a></li></ul></nav></div><div class="mx-auto mt-10 w-full max-w-6xl border-t pt-6 text-xs text-muted-foreground"><p>© 2026 Veil UI. All rights reserved.</p></div></footer></div>
</template>

On this page