Ballmac UI home

CTA 2: waitlist over light beams

A waitlist or newsletter signup over rising light beams: heading, email field with validation, loading, success and error states.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/cta-2

Usage

Example: cta-2-demo.tsx
"use client"

import { Cta2 } from "@/components/ballmac/blocks/cta-2/cta-2"

export default function Cta2Demo() {
  return <Cta2 onSubmit={() => new Promise((resolve) => setTimeout(resolve, 900))} />
}

Dependencies

Use with AI

Email capture section. Wire `onSubmit(email)` to your API (throw on failure); the block handles loading, success and error states. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI CTA 2: waitlist over light beams (@ballmac/cta-2) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Pre-launch waitlists
  • Newsletter signup at the end of a page

Not for

  • Collecting more than an email (use a form page)

Registry JSON: https://ui.ballmac.com/r/cta-2.json

Free to use in personal and commercial projects.