Centered hero with perspective browser mockup, floating notification cards at corners, and star rating badge. Perfect for SaaS products and web apps.
Centered hero anchored by a browser-chrome screenshot mockup: up to four notification-style cards float at the mockup's corners and a star-rating pill floats beneath it, with an optional CSS keyframe animation that makes all of them gently bob.
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/hero72?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero72?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero72.tsx and the shadcn/ui badge and button components it depends on.
The installed file exports hero72Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero72, hero72Demo } from "@/components/beste/block/hero72";
export default function Page() {
return <Hero72 {...hero72Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Hero72 } from "@/components/beste/block/hero72";
export default function Page() {
return (
<Hero72
badge={{ label: "New Release", variant: "secondary" }}
heading="Your workspace, reimagined"
description="A focused interface that keeps your team moving."
buttons={[{ label: "Try It Now", href: "/signup" }]}
screenshot={{ src: "https://example.com/app-screenshot.png", alt: "App screenshot" }}
browserUrl="app.example.com"
floatingCards={[
{ icon: "check", color: "emerald", title: "Task completed", subtitle: "Design review", position: "top-left" },
{ icon: "trending", color: "amber", title: "+24% growth", subtitle: "This week", position: "bottom-right" },
]}
rating={{ score: "4.9", count: "from 2,000+ reviews" }}
enableAnimation
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Badge above the heading |
heading | string | – | Main headline |
description | string | – | Supporting paragraph |
buttons | ButtonItem[] | [] | CTA buttons above the screenshot |
screenshot | { src: string; alt: string } | – | Image rendered inside the browser-chrome mockup |
browserUrl | string | – | Text shown in the mockup's mock address bar; the bar itself is hidden when omitted |
floatingCards | FloatingCard[] | [] | Up to four notification cards pinned to the screenshot's corners |
rating | { score: string; count: string } | – | Floating star-rating pill centered under the screenshot |
enableAnimation | boolean | string | false | Enables the CSS float keyframe on the floating cards and rating pill; also accepts the literal string "true" |
className | string | – | Extra classes for the outer <section> |
type ButtonItem = {
label: string;
href?: string;
variant?: "default" | "secondary" | "outline" | "ghost";
};
type FloatingCard = {
icon: "check" | "users" | "message" | "trending";
color: "emerald" | "violet" | "blue" | "amber";
title: string;
subtitle: string;
position: "top-left" | "bottom-left" | "top-right" | "bottom-right";
};enableAnimation deliberately accepts a boolean or the string "true" (enableAnimation === true || enableAnimation === "true"), which matters when the value arrives as a string from a CMS or query param; any other value, including "false", is treated as disabled.floatingCards entry has a fixed position (top-left, bottom-left, top-right, bottom-right) mapped to absolute offsets; top cards are hidden below md and bottom cards below lg, so the corner cards are desktop-only decoration.float keyframe (a translateY bob) with a per-position delay, producing a staggered rather than synchronized motion.[perspective:1000px] wrapper and tilts on hover (hover:[transform:rotateX(2deg)], 500ms transition), with a bottom gradient overlay fading the image into the background color.browserUrl only toggles whether the address bar text renders.hero100
Fullscreen hero with centered content and browser window frame mockup over inset background video
hero7
Centered hero with optional badge, heading, description, dual action buttons, and a featured image below. Perfect for product launches and landing pages.
hero68
Centered hero with three feature highlights displayed as icon cards with descriptions below the CTA. Perfect for platform and infrastructure products.
hero36
Centered hero with gradient-highlighted heading text and trusted-by logo cloud below CTA buttons. Perfect for B2B SaaS and enterprise products.
hero45
Centered hero with avatar stack, partial star ratings display, and review count above the featured image. Perfect for products with strong user reviews.
hero80
Centered hero with inset background media and overlapping product image