Metrics Dashboard Hero

Dashboard

Real-time insights at your fingertips

Monitor your business metrics in real-time. Make data-driven decisions with confidence.

Total Revenue

$1.2M+12.5%

Active Users

48.2K+8.1%

Conversion Rate

3.24%-0.4%

Avg. Order Value

$142+5.2%
About this block

Metrics Dashboard HeroPRO

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

Hero48: Metrics Dashboard Hero

Centered hero for analytics products: a standard heading and CTA block sits above a four-column metrics panel showing headline values with up/down trend arrows, styled like a strip pulled straight out of a dashboard.

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

Base UI flavor

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

This installs the block to components/beste/block/hero48.tsx and its shadcn/ui dependencies: Badge, Button.

Quick start

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

tsx
import { Hero48, hero48Demo } from "@/components/beste/block/hero48";

export default function Page() {
  return <Hero48 {...hero48Demo} />;
}

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

tsx
import { Hero48 } from "@/components/beste/block/hero48";

export default function Page() {
  return (
    <Hero48
      badge={{ label: "Dashboard", variant: "secondary" }}
      heading="Real-time insights at your fingertips"
      description="Monitor your business metrics in real-time."
      buttons={[{ label: "View Dashboard", href: "https://beste.co" }]}
      metrics={[
        { label: "Total Revenue", value: "$1.2M", change: { value: "+12.5%", trend: "up" } },
        { label: "Active Users", value: "48.2K", change: { value: "+8.1%", trend: "up" } },
        { label: "Conversion Rate", value: "3.24%", change: { value: "-0.4%", trend: "down" } },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }–Pill above the heading
headingstring–Main heading
descriptionstring–Supporting paragraph
buttonsButtonItem[][]CTA buttons; the first one gets a trailing arrow icon
metricsMetricCard[][]Cells rendered in the panel below the CTAs
classNamestring–Extra classes for the outer <section>
ts
type ButtonItem = {
  label: string;
  href?: string;
  variant?: "default" | "secondary" | "outline" | "ghost";
};

type MetricCard = {
  label: string;
  value: string;
  change?: { value: string; trend: "up" | "down" };
};

Behavior notes

  • The metrics panel is a single bordered surface (rounded-2xl border bg-card) with divide-y sm:divide-x between cells rather than separate cards, so dividers automatically switch from horizontal to vertical once the grid moves from one column to a row.
  • Column count steps through the breakpoints: 1 column by default, 2 columns from sm, 4 columns from lg.
  • Trend color is the codebase's one sanctioned exception to semantic-only colors: text-emerald-500 for "up", text-rose-500 for "down", each paired with a matching TrendingUp/TrendingDown icon.
  • metrics is entirely optional; omitting it collapses the hero to just heading, description, and buttons with no panel below.

More Hero blocks

View all Hero
PRO

hero37

Analytics Hero with Floating Stats

PRO

hero25

Dashboard Preview Hero

PRO

hero96

Split Hero with Metric Dashboard

Get Pro access