# Newsletter sections

> Centered heading and intro text above a card titled Subscribe to our Newsletter with a short description, one email input and a full width Subscribe button in the card footer.

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

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

## Install

```bash
npx shadcn@latest add https://shadcnuikit.com/r/newsletter1.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`, `card`, `input`, `label`

## Files

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

```tsx
import { Button } from "@/components/ui/button";
import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";

export default function Newsletter1() {
  return (
    <section className="w-full py-16 lg:py-24">
      <div className="container mx-auto flex flex-col items-center justify-center space-y-6 px-4 text-center md:px-6">
        <div className="max-w-xl">
          <h2 className="text-3xl leading-tight font-bold md:text-4xl">
            Join Our Community
          </h2>
          <p className="text-muted-foreground mt-4 md:text-lg">
            Subscribe to our newsletter to get the latest updates, exclusive
            content, and special offers directly in your inbox.
          </p>
        </div>
        <div className="w-full max-w-md">
          <Card className="w-full max-w-md shadow-none">
            <CardHeader className="space-y-1">
              <CardTitle className="text-2xl">
                Subscribe to our Newsletter
              </CardTitle>
              <CardDescription>
                Stay up-to-date with our latest news and exclusive offers.
              </CardDescription>
            </CardHeader>
            <form className="contents">
              <CardContent className="grid gap-2">
                <Label htmlFor="newsletter-1-email" className="sr-only">
                  Email address
                </Label>
                <Input
                  id="newsletter-1-email"
                  type="email"
                  placeholder="you@example.com"
                  autoComplete="email"
                  required
                />
              </CardContent>
              <CardFooter>
                <Button type="submit" className="w-full">
                  Subscribe
                </Button>
              </CardFooter>
            </form>
          </Card>
        </div>
      </div>
    </section>
  );
}
```
