Floating Glassmorphism Card Hero

Fullscreen hero with centered glassmorphism card floating over inset background video

PRO

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.

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

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

hero80

Cinematic Hero with Overlapping Media

Centered hero with inset background media and overlapping product image