# Newsletter signup

> A centered newsletter-signup section — an email field, subscribe action, and social proof.

A shadcn/ui block from the [@quill](https://www.quilldesignsystem.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/quill/newsletter).

- Page, with a live preview: https://shadcn.exchange/r/quill/newsletter
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/quill/newsletter-light-69e9f32c13ab6ae1.png
- Registry item: https://www.quilldesignsystem.com/r/newsletter.json
- Categories: marketing, form
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://www.quilldesignsystem.com/r/newsletter.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: `input`, `label`, `button`, `https://www.quilldesignsystem.com/r/icon.json`

## Notes from the registry

A centered newsletter-signup section — an email field, subscribe action, and social proof. Do: Say plainly what subscribers are signing up for and that they can leave any time ("No spam, no noise — unsubscribe any time."). Don't: Ask for an email with no context on frequency or an easy way out. Use contact-form when you need more than an email — name, topic, a message — this pattern is intentionally a single field. Use footer when the signup is one small element within a full site footer, not its own standalone section.

## Files

### `registry/blocks/newsletter.tsx`

```tsx
'use client'
import { Input } from '@/components/ui/input'
import { Label } from '@/components/ui/label'
import { Button } from '@/components/ui/button'
import { Icon } from '@/components/ui/icon'

/** A centered newsletter-signup section — an email field, subscribe action, and social proof. */
export function Newsletter() {
  return (
    <section className="flex w-[560px] flex-col items-center gap-4 rounded-xl bg-card p-10 text-center ring-1 ring-foreground/10">
      <span className="flex size-10 items-center justify-center rounded-full bg-muted text-muted-foreground">
        <Icon name="mail" size={20} aria-hidden />
      </span>
      <div className="flex flex-col gap-1">
        <h2 className="font-heading text-xl text-foreground">The Brief</h2>
        <p className="text-sm leading-relaxed text-pretty text-muted-foreground">
          One letter a month on design systems and the teams that ship them. No spam, no noise —
          unsubscribe any time.
        </p>
      </div>
      <form className="flex w-full max-w-[400px] items-start gap-2" onSubmit={(e) => e.preventDefault()}>
        <div className="flex flex-1 flex-col gap-1 text-left">
          <Label htmlFor="newsletter-email" className="sr-only">
            Email address
          </Label>
          <Input id="newsletter-email" type="email" placeholder="you@example.com" />
        </div>
        <Button type="submit">Subscribe</Button>
      </form>
      <p className="text-xs text-muted-foreground">Joined by 4,200 fellow practitioners.</p>
    </section>
  )
}
```
