# Newsletter sections

> Single row sign-up with the heading and a short description on the left and an email input with a Subscribe button on the right. Stacks vertically on small screens.

A shadcn/ui block from the [@shadcnuikit](https://shadcnuikit.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnuikit/newsletter3).

- Page, with a live preview: https://shadcn.exchange/r/shadcnuikit/newsletter3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnuikit/newsletter3-light-378575eb5b643cf8.png
- Registry item: https://shadcnuikit.com/r/newsletter3.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnuikit.com/r/newsletter3.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `button`, `input`

## Files

### `contents/blocks/marketing/newsletter-sections/3/index.tsx`

```tsx
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";

export default function NewsletterSection() {
  return (
    <section className="w-full">
      <div className="mx-auto flex max-w-7xl flex-col items-center justify-between space-y-4 px-4 py-10 md:flex-row lg:space-y-8 lg:py-16">
        <div className="mb-8 lg:mb-0 lg:max-w-md">
          <h3 className="text-foreground mb-2 text-3xl font-bold">
            Join our newsletter
          </h3>
          <p className="text-muted-foreground text-balance">
            Stay updated with the latest news, insights, and exclusive offers
            delivered straight to your inbox.
          </p>
        </div>

        <div className="w-full lg:w-auto">
          <form className="flex gap-2">
            <Input
              type="email"
              placeholder="Enter your email"
              aria-label="Email address"
              autoComplete="email"
              required
              className="min-w-0 flex-1 sm:min-w-70"
            />
            <Button type="submit" className="whitespace-nowrap">
              Subscribe
            </Button>
          </form>
        </div>
      </div>
    </section>
  );
}
```
