# Marketing Hero Form: Center Aligned With A Form

A centered hero pairing a headline and subtext with a short inline form. Collects an email or signup in one view to start onboarding immediately.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/center-aligned-with-a-form
- 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/center-aligned-with-a-form.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-hero-forms-center-aligned-with-a-form
```

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-center-aligned-with-a-form.json"`.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: avatar, button, input, label
- Installs to: `@/components/blocks/marketing/hero-forms/center-aligned-with-a-form`

## About this block

Center Aligned With A Form is a full viewport hero built around a single
centered column. At the top sits a small all-caps label followed by a large
bold headline. Below the headline a social proof row pairs a cluster of
overlapping avatars with a divider and a short Trustpilot rating line, giving
visitors a quick trust signal before they commit. Under that, an inline form
holds a name field and an email field side by side in a bordered card, with a
submit button at the end of the same row. Two decorative SVG illustrations
float off each edge on wider screens, framing the content without crowding it.

The headline, the label above it, and the rating copy are all plain text you
can swap freely. The avatar count badge reads "7k+" in the demo and can be
updated to match your actual figure. The form fields are a minimal name and
email pair, so you can retitle the submit button or adjust the placeholder
text without touching the layout.

## When to use

This layout fits a real estate marketplace landing page where capturing a
lead at first glance is the primary goal. The inline form removes the extra
click of a separate signup page, and the social proof row does enough
credibility work that a visitor can submit their details before scrolling. It
is a better fit than a split-screen alternative when you want the headline to
read across the full width, and better than a search-bar hero when you want
to collect contact details rather than a query.

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

**Before**

- [Announcement Banners](https://www.shadcn-ui-blocks.com/blocks/marketing/announcement-banners) to surface a
  promotion or new listing alert above the fold before the hero loads

**After**

- [Feature Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/feature-sections) to explain what the
  platform offers once a visitor has seen the signup form
- [Testimonials](https://www.shadcn-ui-blocks.com/blocks/marketing/testimonials) to reinforce trust with
  longer social proof after the brief avatar row in the hero

## What you can customize

The block captures a name and email in one view, but the same frame works
for several acquisition goals:

- **Property alert signups.** Replace the headline with a listing alert pitch
  and update the button label so visitors know they are opting in to new
  listing notifications.
- **Agent lead forms.** Swap the subtext for a short value prop about
  connecting buyers with local agents, then route the form to a CRM instead
  of a general mailing list.
- **Open house registrations.** Change the name field placeholder to "Full
  name" and the email placeholder to "Email address" and add a date reference
  in the label to tie the form to a specific event.

> Tip: keep the avatar count and rating copy accurate; visitors notice when
> social proof numbers feel generic, and real figures convert better.

## 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)
- [Contact Form With Background](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/contact-form-with-background)
- [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)
