# Newsletter Inline

> A slim capture band that slots between any two sections.

A shadcn/ui block from the [@blockforge](https://blockforge.terravidhal.me) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/blockforge/newsletter-inline).

- Page, with a live preview: https://shadcn.exchange/r/blockforge/newsletter-inline
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/blockforge/newsletter-inline-light-5177afd463bc487a.png
- Registry item: https://blockforge.terravidhal.me/r/newsletter-inline.json
- Categories: newsletter
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://blockforge.terravidhal.me/r/newsletter-inline.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`

## Files

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

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

/** A slim band that slots between any two sections without stealing focus. */
export default function NewsletterInline() {
  return (
    <aside className="border-y border-border/60 bg-background">
      <div className="mx-auto flex w-full max-w-6xl flex-col items-start justify-between gap-4 px-6 py-6 sm:flex-row sm:items-center">
        <div>
          <p className="text-sm font-medium">Ship notes, monthly</p>
          <p className="mt-0.5 text-sm text-muted-foreground">
            One email. What changed, why, and what broke on the way.
          </p>
        </div>
        <form className="flex w-full max-w-sm gap-2">
          <label htmlFor="nl-inline-email" className="sr-only">
            Email address
          </label>
          <input
            id="nl-inline-email"
            type="email"
            autoComplete="email"
            placeholder="you@company.com"
            className="h-8 w-full flex-1 rounded-lg border border-input bg-background px-3 text-sm outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50"
          />
          <Button type="submit" size="sm" variant="outline" className="shrink-0">
            Subscribe
          </Button>
        </form>
      </div>
    </aside>
  );
}
```
