Ballmac UI home

Hero 8: email signup with floating product

A hero that asks for one thing, an email. The form checks the address as you leave it, says what happened (working, done, or why not) without losing what you typed, and a product screen floats beside it.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/hero-8

Usage

Example: hero-8-demo.tsx
"use client"

import { Hero8 } from "@/components/ballmac/blocks/hero-8/hero-8"

export default function Hero8Demo() {
  return <Hero8 />
}

States

This block has no states. Static content; the form reports its own working, done and failed states.

Dependencies

Use with AI

Conversion hero. <Hero8 announcement={{ text, href }} title description action fineprint onSubmit={(email) => Promise} proof={{ rating, text, people }} successText />. The email is checked on blur and on submit; invalid input shows a message beside the field; onSubmit may reject with a reason that is shown and keeps the typed address. The product screen is decoration, inert and hidden from assistive technology, and holds still with reduced motion. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Hero 8: email signup with floating product (@ballmac/hero-8) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • A landing page whose goal is a signup or a waitlist
  • A launch page with an announcement and proof under the form

Not for

  • A hero led by a screenshot; use hero-7
  • A developer tool led by a command; use hero-2

Registry JSON: https://ui.ballmac.com/r/hero-8.json

Free to use in personal and commercial projects.

Ballmac UI Pro

Need the whole screen, not one piece?

150 premium blocks (dashboards, settings, calendars, mail, shops, onboarding), a private shadcn registry and Figma tokens. Blocks that show data come with loading, empty and error states built in.

Not ready? Try three Pro blocks free

Leave your email and the blocks appear right here, ready to copy. Yours to use in any project.