Staaarter

Newsletter Letter Band

A full-width, monochrome dark band that pairs one very large statement heading with an inline email input and subscribe button, plus a small reassurance line underneath. Built as a closing newsletter moment rather than a full section.

By Staaarter Team
CTA
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/newsletter-letter-band.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/cta/cta72.tsx instead.

Usage

The file also exports cta72Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { Cta72, cta72Demo } from "@/components/blocks/cta/cta72";

export default function Page() {
  return <Cta72 {...cta72Demo} />;
}

Props

PropTypeDefaultDescription
headingstring"Words worth reading, once a week."Oversized statement heading.
emailPlaceholderstring"[email protected]"Placeholder text for the email input.
actionLabelstring"Subscribe"Label for the submit button.
reassuranceTextstring"No spam, unsubscribe anytime."Small reassurance line under the form.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • Fully static: this is a Server Component, so the form has no onSubmit handler and the email input is uncontrolled, nothing is sent anywhere on submit.
  • The dark treatment (`bg-foreground text-background`) is a deliberate, scoped monochrome exception for this band, not a sitewide theme change.