# Press CTA

> A high-contrast daylight print-shop closing band with a perforated tear-off admission ticket stub and a tactile letterpress stamp trigger built right into the conversion block.

Stock gradient CTA banners feel interchangeable. Press CTA sets your final conversion on crisp cotton drafting stock framed in heavy printer’s ink rules, paired with a perforated admission ticket stub on the right. Pressing the mechanical offset die trigger physically depresses the button, punches the validation hole solid and slams a crisp rotated letterpress ink stamp onto the ticket stub while invoking your async booking or signup handler.

## Install

```bash
npx shadcn@latest add @hairline-pro/press-cta
```

Needs React 19, Tailwind CSS v4 and shadcn/ui theme variables (any style, light and dark). Icons from lucide-react.

- npm: `lucide-react`
- Hairline UI components it needs (the CLI installs them too): none
- Docs and live preview: https://hairlineui.com/blocks/press-cta
- Premium block, included with All-Access (https://hairlineui.com/buy/all-access?from=blocks). Installs only with an All-Access token through the @hairline-pro registry: https://hairlineui.com/ui/installation#premium. Its source isn't public.

## Usage

```tsx
import { PressCta } from "@/components/press-cta";

<PressCta
  tone="cotton"
  onStamp={async () => {
    await fetch("/api/reserve-slot", { method: "POST" });
  }}
/>
```

## Letterpress ticket closing band with Archivo

Pass your display face through --pc-display and wire onStamp to your booking or signup API.

```tsx
import { Archivo } from "next/font/google";
import { PressCta } from "@/components/press-cta";

const display = Archivo({ subsets: ["latin"] });

export function ClosingTicket() {
  return (
    <PressCta
      tone="cotton"
      style={{ "--pc-display": display.style.fontFamily } as React.CSSProperties}
      headline={["Reserve your", "build slot now."]}
      stampConfirmedText="ISSUED · 2026"
      onStamp={async () => {
        console.log("Ticket stamped");
      }}
    />
  );
}
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `tone` | `'cotton' \| 'carbon'` | `'cotton'` | Daylight cotton & vermilion stock or carbon & acid-lime night edition. |
| `eyebrow / headline / subheading` | `string \| string[]` | – | Editorial masthead copy on the left panel. |
| `ticketSeries / ticketTitle / ticketSubtitle` | `string` | – | Printed header metadata on the perforated stub. |
| `ticketDetails` | `{ label: string; value: string }[]` | – | Ruled rows printed inside the ticket stub. |
| `stampIdleLabel / stampConfirmedText` | `string` | – | Trigger label and rotated letterpress stamp text. |
| `onStamp` | `() => Promise<unknown> \| void` | – | Optional async callback fired when stamping the ticket. |

## States

- **ready**: Displays the faint uninked stamp outline inside the stub and the raised offset press trigger.
- **press & stamp**: Clicking depresses the button 4px into its ink shadow, punches the corner hole solid and drops the rotated letterpress impression.
- **reset**: Clicking again cleanly resets the stub for testing or alternative flows.
- **error**: If onStamp throws, returns the press trigger to ready and prints the error inline.

## What it handles

Making a daylight closing section feel memorable without resorting to bright gradients or floating mockups requires strong typographic structure and one genuine tactile mechanic.

- **Perforated tear-off ticket stub**: Features physical semicircular tear notches, dashed perforation seam, printed spec rows and a live punch hole.
- **Tactile offset die-press trigger**: Depresses cleanly along its 4px hard press shadow, drops the rotated letterpress impression and fires your onStamp callback.
- **Cotton daylight and carbon night palettes**: Ships with --pc-* cotton-and-vermilion daylight stock plus a carbon-and-lime dark edition.
- **Async conversion contract**: Accepts an optional async onStamp function and renders pressing, stamped and error states inline.
- **Zero libraries, mobile-native stack**: Reflows cleanly from side-by-side ticket to top-and-bottom perforated stub on phones.

## Replaces

gradient CTA banner, booking footer card, newsletter box, ticket promo banner

## Where it fits

- **Design studios & productized agencies**: Turns “Book a sprint” into a numbered admission pass with open slots and fixed launch dates.
- **Conference, cohort & launch waitlists**: Lets visitors stamp their own numbered edition ticket right inside the closing band.
- **Daylight SaaS & editorial products**: Provides a bold high-contrast daylight alternative to dark glowing CTA banners.
- **High-intent founder consultation closers**: Pairs crisp editorial copy with an unforgettable physical tactile trigger.

## Notes

- Self-contained with zero animation libraries and zero external registry dependencies.
- Every colour ships as a --pc-* CSS variable and never inherits shadcn theme defaults.

License: Hairline UI commercial license, not MIT (https://hairlineui.com/license#blocks)
