Analytics Hero with Floating Stats

Centered hero with four floating stat cards positioned around the content displaying key metrics. Perfect for analytics platforms and data-driven products.

PRO

Hero37: Analytics Hero with Floating Stats

Centered hero for analytics products: badge, heading, description, and CTAs, with four stat cards floating around the content at the four corners on desktop, and the same cards re-flowing into a static two-column grid below the content on mobile so no data is lost at small widths.

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

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/hero37?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/hero37.tsx and the Badge and Button shadcn/ui primitives it uses.

Quick start

The installed file exports hero37Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.

tsx
import { Hero37, hero37Demo } from "@/components/beste/block/hero37";

export default function Page() {
  return <Hero37 {...hero37Demo} />;
}

Then replace the demo with your own props. Written out, the same setup looks like this:

tsx
import { Hero37 } from "@/components/beste/block/hero37";

export default function Page() {
  return (
    <Hero37
      heading="Make data-driven decisions with confidence"
      description="Track metrics, identify trends, and grow faster."
      buttons={[{ label: "Start Free Trial", href: "/signup" }]}
      floatingCards={[
        { icon: "chart", title: "Revenue Growth", value: "+127%", position: "top-left" },
        { icon: "users", title: "Active Users", value: "2.4M", position: "top-right" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Optional pill badge above the heading
headingstringMain headline
descriptionstringSupporting paragraph
buttonsButtonItem[][]CTA buttons under the description
floatingCardsFloatingCard[][]Stat cards positioned around the content
classNamestringExtra classes for the outer <section>
ts
type FloatingCard = {
  icon: "chart" | "shield" | "zap" | "users";
  title: string;
  value: string;
  position: "top-left" | "top-right" | "bottom-left" | "bottom-right";
};

type ButtonItem = {
  label: string;
  href?: string;
  variant?: "default" | "secondary" | "outline" | "ghost";
};

Behavior notes

More Hero blocks

View all Hero
PRO

hero48

Metrics Dashboard Hero

Centered hero with four-column metrics panel showing values and trend indicators below the CTA buttons. Perfect for analytics dashboards and business tools.

PRO

hero61

Split Hero with Floating Feature Cards

Two-column hero with announcement banner, social proof metrics, and three floating feature cards with hover animations. Perfect for SaaS product launches.

PRO

hero96

Split Hero with Metric Dashboard

50/50 split hero with content left and metric dashboard cards with trend badges over video right

PRO

hero25

Dashboard Preview Hero

Split-layout hero with interactive dashboard mockup featuring stats cards, line chart, and recent activity feed. Perfect for SaaS and analytics platforms.

PRO

hero24

Wellness Hero with Stats Cards

Split-layout hero with avatar stack social proof, floating heart rate card, and progress indicator overlay on image. Perfect for health, fitness, and wellness apps.

FREE

hero68

Centered Hero with Feature Icons

Centered hero with three feature highlights displayed as icon cards with descriptions below the CTA. Perfect for platform and infrastructure products.