
A horizontal newsletter signup pattern presented inside a soft container to separate it from surrounding content. The headline and description anchor the left side while the inline form sits to the right, creating a clear scan path and compact footprint. Works well as an embedded callout within long pages and collapses cleanly to a stacked layout on smaller screens.
@shadcncraft
blocks/pro-marketing/newsletter-signup/newsletter-signup-5/index.tsx
"use client";
import { IconPlaceholder } from "@/registry/icons/icon-placeholder";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import {
SectionHeading,
SectionHeadingBody,
SectionHeadingTitle,
} from "@/components/shadcncraft/pro-marketing/section-heading";
export function NewsletterSignup5() {
return (
<section className="py-6 lg:py-20">
<div className="mx-auto max-w-7xl px-5 lg:px-8">
<div className="flex flex-col justify-between gap-16 rounded-xl border bg-muted px-5 py-12 lg:flex-row lg:items-end lg:px-16 lg:py-20">
{/* Section Heading */}
<div className="flex-1">
<SectionHeading>
<SectionHeadingTitle>Stay in the loop</SectionHeadingTitle>
<SectionHeadingBody className="text-balance">
Get insights, product updates, and productivity tips straight to your
inbox.
</SectionHeadingBody>
</SectionHeading>
</div>
{/* Newsletter Form */}
<div className="flex max-w-md flex-col gap-2 lg:gap-3">
<form className="flex flex-col gap-2 sm:flex-row">
<Input placeholder="email@example.com" className="w-full" />
<Button type="submit" aria-label="Subscribe to newsletter">
<IconPlaceholder
lucide="Mail"
tabler="IconMail"
hugeicons="Mail01Icon"
phosphor="EnvelopeIcon"
remixicon="RiMailLine"
/>{" "}
Subscribe
</Button>
</form>
{/* Privacy Policy */}
<span
className="text-center text-sm text-muted-foreground lg:text-right"
role="note"
>
We respect your privacy.
</span>
</div>
</div>
</div>
</section>
);
}
Tip: browse, preview and install every shadcncraft block from your editor with the shadcncraft extension for VS Code and Cursor: https://shadcncraft.com/ide-extension
































