Floating Glassmorphism Card Hero

About this block

Floating Glassmorphism Card HeroPRO

Fullscreen hero with centered glassmorphism card floating over inset background video

Hero87: Floating Glassmorphism Card Hero

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.

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.

Upgrade Now

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/hero87?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
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.

Quick start

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.

tsx
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:

tsx
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" }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Small label above the heading, inside the card
headingstringMain headline, inside the card
descriptionstringSupporting paragraph, inside the card
buttonsButtonItem[][]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
classNamestringExtra classes for the outer <section>
ts
type ButtonItem = {
  label: string;
  href: string;
  variant?: "default" | "outline";
  icon?: LucideIcon;
};

Behavior notes

  • All hero content (announcement, badge, heading, description, buttons) lives inside one centered card (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.
  • This component has no 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.

More Hero blocks

View all Hero
PRO

hero85

Fullscreen Hero with Floating Testimonials

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

PRO

hero81

Fullscreen Hero with Quick-Access Cards

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

PRO

hero97

Bottom-Aligned Hero with Stack Cards

Fullscreen bottom-aligned hero with vertical stack cards and inset background video with gradient overlay

PRO

hero100

Fullscreen Hero with Browser Mockup

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

PRO

hero83

Bottom-Aligned Hero with Quick Links

Bottom-aligned fullscreen hero with inset background media and right-side quick link cards

PRO

hero86

Fullscreen Hero with Logo Cloud

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