forever components

Marketing Sections

Agent Handoff CTA

A two-register call to action: the human side carries a lowercase headline, a subline and one accent button; the machine side is a mono bundle (id, framework, category, size, theme) that types itself with a blinking accent cursor, then streams out over a hairline progress and reports 'handed off' before the next bundle types.

csslight complexitymoderate motionclick

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
Worth keeping? Votes steer what gets built next — sign in to cast one, free to read

When to use it

Developer-tool and AI-product marketing where the pitch is 'paste this to your agent'; feature sections that pair copy with a live code-ish artefact.

When not to

Audiences that do not read code, or narrow placements under ~200 px where the bundle wraps.

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Edit the bundles array (key/value rows), the copy on the human side, the typing speed CPT=4 chars per tick and the SEND/DONE/GAP phase lengths; the button triggers send() when the bundle is ready. Re-theme to light by setting --pro-bg:#fafaf8; --pro-surface:#f4f4f0; --pro-border:rgba(0,0,0,.08); --pro-text:#1a1a18; --pro-muted:#6b6b66 (keep --pro-accent, or use #1a7a50 for warm paper), and update the catalog bg field to match. Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.

Safe to edit

  • theme tokens (:root --pro-bg, --pro-surface, --pro-border, --pro-text, --pro-muted, --pro-accent)
  • bundles array (rows of [key, value]) and the typing speed CPT
  • copy (eyebrow, .ah07-head, .ah07-sub, button label)
  • phase lengths (SEND, DONE, GAP) and the stream duration (1.4s on .ah07-line b)
  • breakpoint for the side-by-side layout (min-width:520px)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • :root --pro-* token block (renaming breaks the shared pro theming API)
  • role=img + aria-label on the wrap
  • IIFE wrapper
  • render() escapes the bundle text before it hits innerHTML
  • prefers-reduced-motion guard (full bundle shown, no cursor blink, no auto-send)
  • visibilitychange pause
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Light re-theme via the --pro-* block; catalog bg/accent describe the dark default
  • The bundle is decorative sample metadata; feed the real handoff record into bundles[] in a product
  • Single-column below 520 px by design

ctahandoffagentmetadatamonotypewriterstreamcodetwo-register

More Marketing Sections components

  • Logo Wall MarqueeA 'Trusted by teams at' social-proof section: two rows of invented, purely geometric company marks on chips, marqueeing in opposite directions on a…
  • CTA BannerA centered call-to-action band on a slowly shifting amber-to-tan gradient, with a rotating eyebrow tag, a bold headline, a subline, a white primary button…
  • Hairline CTAA calm call-to-action card: a hairline frame traced by one slow running dash, a mono eyebrow with a heartbeat dot cycling quiet facts, a lowercase…
  • Pricing StackA membership pricing card: a segmented monthly/annual switch whose pill thumb slides, a price that rolls between £5 a month and £50 a year (with 'two…
  • Founding OfferA founding-member offer card: '£399, once', a short subline, a seat meter (hairline track, accent fill with a slow travelling highlight, ten ticks, a…
  • Availability SignalA parchment card stating availability plainly: a display figure of free slots (Pompeii when scarce), six engraved slot marks, a lede and an 'Ask about a…