# Marketing Hero Form: Contact Form With Background

A hero with a full contact form set over a styled background image. Invites visitors to send a message or request a quote without leaving the top.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/contact-form-with-background
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing), Free tier
- Group: [Hero Forms](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/contact-form-with-background.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-hero-forms-contact-form-with-background
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/marketing-hero-forms-contact-form-with-background.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, input, label, select, textarea
- Installs to: `@/components/blocks/marketing/hero-forms/contact-form-with-background`

## About this block

Contact Form With Background is a two-column hero set over a darkened full
bleed photo. The left column carries a headline, a short subtext paragraph,
and three contact detail rows, each with a frosted circular icon (phone,
email, map pin), a label, and the corresponding value. The right column
holds a frosted card containing a "Send us a message" form with first and
last name fields side by side, an email field, an optional phone field, a
subject dropdown with five categories, a multi-line message textarea, and
a full-width submit button. A small response-time note sits below the
button.

All copy, the contact detail values, and the subject dropdown options are
plain text you can replace. The phone field is already marked optional, so
you can remove it with no layout change. The two columns are independent,
so dropping one to widen the other is straightforward.

## When to use

Reach for this block when you want visitors to contact your team from the
very first screen rather than hunting for a separate contact page. It works
well on a dedicated "Contact Us" landing page or at the top of an HR
platform's "Work with us" page, where candidates or clients need a direct
line before they scroll. Compared to a plain split hero, the dimmed
background photo adds atmosphere without distracting from the form, and the
contact detail column answers basic questions (phone, email, location) for
visitors who are not ready to type a message yet.

A natural flow around it on a Marketing (Legacy) page:

**Before**

- A [navbar or announcement banner](https://www.shadcn-ui-blocks.com/blocks/marketing/announcement-banners)
  to frame the page before the hero takes over
- Plain text: A short brand or mission statement above the fold

**After**

- A [feature section](https://www.shadcn-ui-blocks.com/blocks/marketing/feature-sections) to reinforce what
  the team delivers after a visitor submits the form
- A [testimonials section](https://www.shadcn-ui-blocks.com/blocks/marketing/testimonials) to build
  confidence for visitors who scroll past the hero

## What you can customize

The block covers three distinct contact channels plus a structured intake
form, so you can point each piece at the right audience:

- **Contact detail rows.** Swap the phone number, email address, and
  physical location for your real values, or replace the map pin row with
  a calendar link for an HR platform that prefers scheduled calls over
  walk-ins.
- **Subject dropdown options.** The five preset categories (General
  Inquiry, Technical Support, Sales Question, Billing Issue, Other) map
  well to an HR or hiring context. Rename them to match your intake
  workflow, for example "Open Role Inquiry" or "Partnership Request."
- **Background photo.** The Unsplash office image sets a professional tone.
  Replace the URL with any photo that matches your brand's environment,
  keeping a dark enough subject so the white left-column text stays
  readable.

> Tip: if your team's response time is faster than 24 to 48 hours, update
> the note below the button to say so. It is one of the first things a
> motivated visitor reads after clicking Send.

## More in Marketing Hero Forms

- [Booking Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/booking-form)
- [Center Aligned Search With Tags](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/center-aligned-search-with-tags)
- [Center Aligned With A Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/center-aligned-with-a-form)
- [Contest Entry Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/contest-entry-form)
- [Early Access Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/early-access-form)
- [Event Registration Countdown](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/event-registration-countdown)
- [Feedback Survey Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/feedback-survey-form)
- [Floating Card With Gradient](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/floating-card-with-gradient)
- [Free Ebook Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/free-ebook-form)
- [Free Trial Signup Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/free-trial-signup-form)
- [Image And Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/image-and-form)
- [Job Application Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/job-application-form)
- [Newsletter Subscription](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/newsletter-subscription)
- [Newsletter With Social Proof](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/newsletter-with-social-proof)
- [Product Customizer Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/product-customizer-form)
- [Quiz Assessment Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/quiz-assessment-form)
- [Schedule Demo Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/schedule-demo-form)
- [Sign Up Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/sign-up-form)
- [Split Screen Multi Step](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/split-screen-multi-step)
- [Subscription Form With Toggle](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/subscription-form-with-toggle)
- [Two Factor Verification](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/two-factor-verification)
- [User Feedback Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/user-feedback-form)
- [Webinar Registration Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/webinar-registration-form)
