Fullscreen hero with centered glassmorphism card floating over inset background video
Fullscreen hero built around a single centered glassmorphism card that floats over an inset, dimmed background image or video. The card holds an optional funding/news announcement pill, badge, heading, description, and buttons, all with permanently dark styling.
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/hero87?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero87?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero87.tsx along with the badge and button shadcn/ui primitives it depends on.
The installed file exports hero87Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero87, hero87Demo } from "@/components/beste/block/hero87";
export default function Page() {
return <Hero87 {...hero87Demo} />;
}Then replace the demo with your own props. Written out, the same setup looks like this:
import { ArrowRight } from "lucide-react";
import { Hero87 } from "@/components/beste/block/hero87";
export default function Page() {
return (
<Hero87
badge={{ label: "Beta Access", variant: "secondary" }}
heading="Rethink how you build for the web"
description="A radically simple platform that eliminates the gap between design and production."
buttons={[
{ label: "Request Access", href: "/signup", icon: ArrowRight },
{ label: "Read the Docs", href: "/docs", variant: "outline" },
]}
backgroundMedia={{ type: "image", src: "https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=1600&h=900&fit=crop" }}
announcement={{ label: "We just raised $20M Series A — Read more", href: "/blog/series-a" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Small label above the heading, inside the card |
heading | string | – | Main headline, inside the card |
description | string | – | Supporting paragraph, inside the card |
buttons | ButtonItem[] | [] | CTA buttons centered at the bottom of the card |
backgroundMedia | { type: "image" | "video"; src: string; alt?: string } | – | Full-viewport inset image or video behind the card |
announcement | { label: string; href: string } | – | Pill-shaped link shown above the badge, for news/funding style banners |
className | string | – | Extra classes for the outer <section> |
type ButtonItem = {
label: string;
href: string;
variant?: "default" | "outline";
icon?: LucideIcon;
};max-w-2xl, bg-black/50, backdrop-blur-xl, bordered) rather than being laid directly over the background media, unlike every other hero in this set.invertColor prop: the card's dark, translucent styling and white text are hardcoded, so it is designed for use over any background image or video without a light-mode variant.announcement renders as a pill link above the badge with a trailing ArrowRight that translates right on hover via a named group/hero87 class, a common "we raised funding, read more" banner pattern.backgroundMedia sits in the same inset rounded panel used across this hero family, but with a flat bg-black/40 overlay rather than a gradient, since the card itself carries the primary legibility layer.hero85
Cinematic fullscreen hero with inset background video and floating glassmorphism testimonial cards
hero81
Cinematic fullscreen hero with inset background media and glassmorphism quick-access cards
hero97
Fullscreen bottom-aligned hero with vertical stack cards and inset background video with gradient overlay
hero100
Fullscreen hero with centered content and browser window frame mockup over inset background video
hero83
Bottom-aligned fullscreen hero with inset background media and right-side quick link cards
hero80
Centered hero with inset background media and overlapping product image