Skip to main content
Clever Ops

Metric Wall Hero

Hero whose backdrop is a faint wall of the product's own numbers, a mono grid of stats at whisper alpha with one column resolving to full ink, the headline set over the evidence.

Preview & code

Loading Metric Wall Hero preview

Installation

pnpm dlx shadcn@latest add @cleverui/hero-metric-wall

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { HeroMetricWall } from '@/components/blocks/hero-metric-wall'
Exampletsx
import { HeroMetricWall } from '@/components/blocks/hero-metric-wall'

export default function HeroMetricWallDemo() {
  return (
    <HeroMetricWall
      eyebrow="Meridian · operating numbers"
      title="Evidence first. Features second."
      highlight="Evidence first."
      description="Every figure on this wall is a live production metric from last quarter, not a slide deck. The product either holds or it doesn’t."
      primaryCta={{ label: 'Open the workspace', href: '#' }}
      secondaryCta={{ label: 'See methodology', href: '#' }}
      featuredColumn={1}
      metrics={[
        { value: '99.98%', label: 'Uptime last quarter' },
        { value: '4.2m', label: 'Invoices matched' },
        { value: '31ms', label: 'p50 match latency' },
        { value: '0.04%', label: 'Exception rate' },
        { value: '214', label: 'Playbooks live' },
        { value: '18k', label: 'Nightly closes' },
        { value: '6.1×', label: 'Faster reconciling' },
        { value: '142', label: 'Entity books' },
        { value: '9.4', label: 'NPS ops teams' },
        { value: '48h', label: 'Median go-live' },
        { value: '1.2s', label: 'Audit export' },
        { value: '37', label: 'Bank rails' },
      ]}
    />
  )
}

API reference

HeroMetricWall accepts the following props.

PropTypeDefaultDescription
eyebrowstring
title*string
highlightstringsubstring of title underlined in primary ink
descriptionstring
primaryCta{ label: string; href: string }
secondaryCta{ label: string; href: string }
metrics*HeroMetricWallMetric[]9–16 stat cells tiling the wall
featuredColumnnumber10-based wall column that resolves to full ink after entrance

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface HeroMetricWallMetric {
  value: string
  label: string
}

Frequently asked questions

How do I install the Metric Wall Hero component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/hero-metric-wall`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Metric Wall Hero require?

Metric Wall Hero uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Metric Wall Hero to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services