Lead Capture Hero with Email Input

Fullscreen hero with email capture input over inset background video

PRO

Hero88: Lead Capture Hero with Email Input

Fullscreen, centered hero built around an email capture row instead of CTA buttons: a controlled email input plus a submit button sit inside a bordered glass field, with a footnote and a secondary link underneath, over an inset background image or video.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/hero88?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/hero88?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/hero88.tsx along with the badge and button shadcn/ui primitives it depends on.

Quick start

The installed file exports hero88Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.

tsx
import { Hero88, hero88Demo } from "@/components/beste/block/hero88";

export default function Page() {
  return <Hero88 {...hero88Demo} />;
}

Then replace the demo with your own props. Written out, the same setup looks like this:

tsx
import { Hero88 } from "@/components/beste/block/hero88";

export default function Page() {
  return (
    <Hero88
      badge={{ label: "Early Access", variant: "secondary" }}
      heading="Be the first to experience what's next"
      description="Sign up for early access and get a front-row seat to what's coming."
      backgroundMedia={{ type: "image", src: "https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=1600&h=900&fit=crop" }}
      inputPlaceholder="Enter your email"
      submitLabel="Get Early Access"
      footnote="No spam, ever. Unsubscribe anytime."
      secondaryLink={{ label: "Or explore the docs first", href: "/docs" }}
      invertColor
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Small label above the heading
headingstringMain headline
descriptionstringSupporting paragraph under the heading
backgroundMedia{ type: "image" | "video"; src: string; alt?: string }Full-viewport inset image or video behind the content
inputPlaceholderstringPlaceholder text for the email input
submitLabelstringLabel on the submit button next to the input
footnotestringSmall print shown under the input row
secondaryLink{ label: string; href: string }Text link with a hover-translating arrow, shown below the footnote
invertColorbooleantrueSwitches text, input, and overlay colors between dark-background and light-background styling
classNamestringExtra classes for the outer <section>

Behavior notes

Wiring the form up

This block ships the form markup only; state, validation, and submit are yours to add. Our guide wires the shadcn Field primitives to React Hook Form, TanStack Form, and Formisch on one field system.

More Hero blocks

View all Hero
PRO

hero100

Fullscreen Hero with Browser Mockup

Fullscreen hero with centered content and browser window frame mockup over inset background video

PRO

hero86

Fullscreen Hero with Logo Cloud

Cinematic fullscreen hero with inset background video and trusted-by logo strip

PRO

hero85

Fullscreen Hero with Floating Testimonials

Cinematic fullscreen hero with inset background video and floating glassmorphism testimonial cards

PRO

hero43

Email App Hero with Inbox Mockup

Split-layout hero with interactive email client mockup featuring sidebar, message list, and floating notification. Perfect for email and communication apps.

PRO

hero99

Fullscreen Hero with Marquee Ticker

Cinematic fullscreen hero with scrolling marquee keyword band over inset background video

PRO

hero81

Fullscreen Hero with Quick-Access Cards

Cinematic fullscreen hero with inset background media and glassmorphism quick-access cards