Fullscreen hero with email capture input over inset background video
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.
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.
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
npx shadcn add "https://ui.beste.co/r/hero88?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
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.
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.
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:
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
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Small label above the heading |
heading | string | – | Main headline |
description | string | – | Supporting paragraph under the heading |
backgroundMedia | { type: "image" | "video"; src: string; alt?: string } | – | Full-viewport inset image or video behind the content |
inputPlaceholder | string | – | Placeholder text for the email input |
submitLabel | string | – | Label on the submit button next to the input |
footnote | string | – | Small print shown under the input row |
secondaryLink | { label: string; href: string } | – | Text link with a hover-translating arrow, shown below the footnote |
invertColor | boolean | true | Switches text, input, and overlay colors between dark-background and light-background styling |
className | string | – | Extra classes for the outer <section> |
useState), but the component exposes no onSubmit or onChange callback prop: the "Get Early Access" button has no click handler wired up, so consumers need to add their own submit logic around the installed component.<form>, just a flex row, so pressing Enter in the field does not trigger any submission by default.secondaryLink renders as a text link below the input block with a trailing arrow icon that translates right on hover (group/hero88), the same hover pattern used by the announcement pill in hero87.invertColor (default true) governs the input's border, background, and placeholder colors (translucent white on dark vs. bg-background/60 on light) in addition to the heading, description, and background overlay.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.
hero100
Fullscreen hero with centered content and browser window frame mockup over inset background video
hero86
Cinematic fullscreen hero with inset background video and trusted-by logo strip
hero85
Cinematic fullscreen hero with inset background video and floating glassmorphism testimonial cards
hero43
Split-layout hero with interactive email client mockup featuring sidebar, message list, and floating notification. Perfect for email and communication apps.
hero99
Cinematic fullscreen hero with scrolling marquee keyword band over inset background video
hero81
Cinematic fullscreen hero with inset background media and glassmorphism quick-access cards