Shadcn Contact Us Sections

Contact section components built with shadcn/ui featuring interactive maps, contact options, and call-to-action cards. These components help visitors get in touch, book appointments, or find your location with a clean and professional layout.

Contact Us 1 Pro

Contact Us badge, heading and text above a world map with country markers, tooltips and flag popups, next to three cards for booking online, calling and visiting, each with an outline action button.

Contact Us 2 Pro

Sales contact section with a badge, large heading, text and three client logos on the left and a card form with labelled name, email, company and message fields validated by zod on the right.

Contact Us 3 Pro

Three columns: heading with a Contact Us link, a card form with underline style name, email, industry, subject and message fields and a rounded Submit button, and sales, address and phone details.

Contact Us 4 Pro

Full width background photo with a floating white card holding a heading, underline style name, email, phone and message fields, a required privacy policy checkbox and a Send message button.

Contact Us 5 Pro

Form free contact layout with a large heading, two columns of general, collaboration, careers and address details, a row of text social links and a wide studio photo below.

Contact Us 6 Pro

Split layout with a tall office photo on one side and a heading, small world map with office markers and a form with first name, last name, email and message fields on the other.

Contact Us 7 Pro

Heading with address and phone details, a wide world map with markers and zoom controls, then a labelled form with name, email, phone, a reason for contact select and a message field.

Contact Us 8 Pro

Badge and heading above a card form with labelled name, email, company, subject and message fields, next to phone, email and hours lines and a map with an overlaid office address card.

Contact Us 9 Pro

Centered heading with an italic accent word above three cards for chat, email and phone, each with a colored round icon, a short subtitle and a Start chat button or contact value.

Contact Us 10 Pro

Minimal three row layout separated by dividers for Let's Talk, Location and Contact, each listing labelled emails, address, directions link, social links or phone numbers in columns.

Contact Us 11 Pro

Large faded Contact Us wordmark above a Reach Out heading with three checked service promises and round social buttons, a name, email and message form, and three contact info cards below.

Contact Us 12 Pro

Rounded panel on a darkened background photo with heading, location, socials, email and phone on the left and a card form with name, country, phone, email, pill inquiry types, message and opt-in checkbox.

Contact Us 13 Pro

Centered badge and heading above a non zooming globe map with office markers and address tooltips, followed by four cards for chatting to sales, chatting to support, visiting and calling.

About Shadcn UI Contact Us Blocks

A contact us section gives visitors a clear way to reach you, through a form, a direct email or phone line, an address or a map of your offices. These thirteen shadcn contact blocks cover sales forms, support pages, channel cards, office maps and minimal contact lists.

Like the rest of our shadcn blocks, every layout is built with React, TypeScript and Tailwind CSS on top of shadcn ui components such as Form, Input, Textarea, Select, Checkbox and Card. The form blocks validate input with react-hook-form and zod, the map blocks use a MapLibre based map component, and all of these shadcn components follow your light and dark theme.

Key Elements of a Contact Us Section

  • Direct channels: an email address and phone number visitors can use without filling in a form.
  • A short form: name, email and message, plus company, phone or topic only when you really need them.
  • Clear validation: inline error messages that explain what to fix before the form is sent.
  • Location details: an address, office hours and a map when visitors come to you in person.
  • Expectations: a line about response time or opening hours so people know when they will hear back.

Where and Why to Use Contact Us Blocks

A contact page is often the last step before a sale, a booking or a support ticket, so friction there costs real leads. A good contact block offers the channel each visitor prefers and collects structured data your team can act on. Because these blocks reuse shadcn ui form components and Tailwind CSS tokens, validation messages, focus rings and spacing match every other form in your app.

  • Contact pages: combine a form with direct channels and an address in one section.
  • Sales inquiries: ask for company and subject to route B2B leads to the right person.
  • Support pages: point visitors to chat, email or phone before they open a ticket.
  • Real estate, travel and hospitality: pair an inquiry form with a large photo of the property or destination.
  • Companies with several offices: mark each location on a world map with its address.
  • Agencies and studios: list general, partnership and careers contacts in a clean typographic layout.

Contact Us Blocks in This Collection

  • Contact 1: Suits clinics, salons and service businesses that want visitors to book, call or find the location rather than write a message.
  • Contact 2: A sales contact form for B2B products, with client logos beside it to add trust right where the lead is captured.
  • Contact 3: A three column page with underline style fields, useful for design tools and creative brands that want a lighter form.
  • Contact 4: Built for real estate or travel lead generation, with a compact form floating over a full width property photo and a privacy consent.
  • Contact 5: A form free, editorial layout for studios that only need to publish their emails, address and social profiles.
  • Contact 6: Splits the screen between a building photo and a short form with a small office map, a good fit for a standalone contact page.
  • Contact 7: The most complete option for support and customer service pages, with a wide map and a topic selector to route each message.
  • Contact 8: Software agencies can use it to collect project briefs while also offering phone, email and an office visit.
  • Contact 9: Three friendly channel cards for products that prefer chat, email or text over a form.
  • Contact 10: A minimal, table like layout for portfolios and studios where the contact details themselves are the design.
  • Contact 11: Works for support teams that want a short form, a few service promises, social buttons and contact cards in one section.
  • Contact 12: Designed for hotels, venues and event businesses, with inquiry types such as wedding or corporate over an atmospheric photo.
  • Contact 13: Fits global companies, showing every office on a globe and separating sales, support, visits and calls below it.

Similar Block Categories

  • FAQs: answer common questions above the form to reduce routine messages.
  • Form Layouts: more form structures if you need a longer request or application form.
  • Map View: full map interfaces when locations are the main content of the page.
  • Team Sections: show the people who will answer before asking visitors to write.
  • Footers: repeat the key contact details in the footer of every page.

Accessibility

Contact 2, Contact 7 and Contact 8 give every field a visible FormLabel, and the shadcn Form component connects labels, inputs and error messages with matching ids and aria attributes, so validation errors are announced with the field. Contact 11 gives each icon-only social button an aria-label, and its decorative “Contact Us” background text is hidden from screen readers with aria-hidden.

Contact 3, Contact 4, Contact 6, Contact 11 and Contact 12 use placeholders instead of labels, and the consent text next to the checkboxes in Contact 4 and Contact 12 is a paragraph rather than a label. Consider adding FormLabel elements (visually hidden if needed) and turning the consent text into a label so it can be clicked and read with the checkbox. The pill buttons in Contact 12 could also use aria-pressed to announce the selected inquiry type.

Contact Us FAQ

A contact us section tells visitors how to reach a company: a form, an email address, a phone number, an office address or a map. It is where a visitor with a question becomes a lead or a support request.

They are ready-made contact sections built with shadcn ui components such as Form, Input, Textarea, Select, Checkbox, Card and Badge and styled with Tailwind CSS. Forms come with validation already wired, and several blocks include an interactive map.

A visitor who cannot find a way to reach you leaves. A clear contact section removes that friction, shows that real people answer and gives sales and support a structured way to receive requests instead of scattered emails.

A short heading, at least one direct channel such as email or phone, office hours, and a form that asks only for what you need: usually name, email and message. Add an address and a map when people visit you in person.

On a dedicated Contact page, at the end of service and agency homepages, on pricing pages for enterprise or sales inquiries and on support pages. A compact list of channels also fits at the bottom of an About page.

The form blocks use react-hook-form with zodResolver and a zod schema at the top of the file, for example a minimum of two characters for the name, a valid email and at least ten characters for the message. Errors appear under each field through FormMessage. Edit the formSchema object to change the rules or add fields.

Each form block has an onSubmit function that currently logs the validated values to the console. Replace it with a call to your API route, a server action or a service such as Resend, Formspree or your CRM, and show a confirmation message after it succeeds.

Contact 1, Contact 6, Contact 7, Contact 8 and Contact 13. The first four show a flat world map with markers, tooltips and popups for several offices. Contact 7 adds zoom controls. Contact 13 renders a globe projection with zooming turned off and a tooltip with the full address for each office.

They use the Map component from components/ui/map, which is built on maplibre-gl and imports its stylesheet. Install maplibre-gl and add the map component before using these blocks. Each block also wraps the map in a small error boundary that shows “Map unavailable” if the map fails to load.

Edit the COUNTRY_MARKERS array (OFFICES in Contact 13). Each entry has an id, a city or country name and longitude and latitude values. You can also change the center and zoom props on the Map component to frame your region instead of the whole world.

Contact 1, Contact 5, Contact 9, Contact 10 and Contact 13 list channels only: emails, phone numbers, addresses, booking or chat links and social profiles. They have no form dependencies, which makes them a good fit when you handle requests through email, chat or a booking tool.

Contact 7has a Reason for Contact select with options such as Technical Support, Sales & Pricing and Bug Report, taken from the contactReasons array. Contact 12 shows the inquiry types as a row of pill buttons, with General selected by default.

Contact 4 has a required privacy checkbox, and the schema blocks submission until it is ticked. Contact 12 has an optional checkbox for receiving offers and updates. Use the first pattern when your privacy policy requires explicit consent.

Contact 2 asks for name, email, company and message next to a row of client logos, and Contact 8 adds a subject field, direct phone and email lines and an office card on a map. Contact 13 suits companies with several offices that want separate sales and support channels.

Every two and three column layout stacks into a single column on small screens, with the copy first and the form or map below. Contact 6 shows its image as a short banner above the form, and the card rows in Contact 9, Contact 11 and Contact 13 stack vertically.

No. All thirteen contact us blocks are part of All Access, the one-time license that also unlocks every other block, admin dashboard and template with lifetime updates.
shadcn contact us sections
Unlock Premium Blocks & Sections
Premium blocks are part of All Access. One license unlocks the whole Shadcn UI Kit, so you can build complete pages and products instead of single sections.
  • 550+ blocks for landing pages, stores, dashboards and apps
  • 16 admin dashboards and 17 ready-made apps
  • 5 premium Next.js website templates
  • 560+ component variants and 70+ examples
  • Install with the shadcn CLI or from your AI editor through the MCP server
  • Lifetime updates, including every new block we release
Unlock Now

One-time payment, no subscription.