Skip to content
Browse blocks

A hero for AI evaluation products: a big headline over a live benchmark of four models, with a chart you can scrub, a graded trace and a score grid.

Used forAI agent evaluation & CI regression platformsAdversarial red-teaming & AI safety productsRAG & Text-to-SQL observability toolsAI gateway & model routing platforms

Install with the shadcn CLI

$ npx shadcn@latest add @hairline-pro/eval-hero

A premium block, included with All-Access (see what’s inside). Add the @hairline-pro registry once, with the token from your account settings. Set it up

Templates

Need the whole page?

63 Next.js landing pages, each designed from scratch. Try any of them live; one is $39, all of them $159, and 8 are free.

All 63 templates

Where it’s used

  • AI agent evaluation & CI regression platforms

    Compares trajectory pass rates, schema strictness and tool-call accuracy across Claude 3.7, GPT-4.5, Gemini 2.5 and DeepSeek R1.

  • Adversarial red-teaming & AI safety products

    Use tone="paper" for a crisp daylight compliance console tracking prompt injection blocks, PII masking and FINRA/SOC2 policy rubrics.

  • RAG & Text-to-SQL observability tools

    Pairs 30-day groundedness spline curves with verbatim graded trace excerpts and superscript rule citations.

  • AI gateway & model routing platforms

    Lets engineering buyers scrub daily accuracy across four frontier models and compare per-scenario pass heatmaps.

What it handles for you

Most AI observability and evaluation landing pages rely on a static screenshot of a chart that visitors cannot scrub, filter by evaluation suite or drill into by test scenario.

Instead of wiring upradiating superscript horizon canvasscrubbable 4-model Catmull-Rom spline chartgraded trace assertion inspector with superscript rules4x4 benchmark heat matrix with sparklines
  1. Radiating superscript score horizon canvas

    A 14px-pitch 2D canvas renders tiny superscript numerals lit brightest along the console top and side rims, redrawing synchronously inside ResizeObserver.

  2. Scrubbable 4-model Catmull-Rom spline chart

    Smooth cubic Bezier curves reveal via a spring-driven scan head and support pointer scrubbing with a smart-flipping dark readout tooltip.

  3. Graded trace assertion card with rule tags

    Displays the exact evaluated agent behavior for the selected scenario with a highlighted assertion span and colored superscript rule references.

  4. Interactive 4x4 benchmark scenario heat matrix

    Clicking any scenario row updates the graded trace card and frontier model pass-rate bars, complete with oklab heat cells and trend sparklines.

  5. 3-suite evaluation workbench switcher

    Gliding tab pills switch the entire console between Tool-Use Accuracy, SQL & RAG Faithfulness and Adversarial Guardrails while rolling all 4 KPIs.

  6. Graphite Studio and Daylight Paper palettes

    Ships with both a deep #0b0b0c graphite studio console and a crisp #f4f5f8 daylight paper console.

Overview

Agent evals hero is built for AI evaluation platforms, LLM observability suites, frontier model benchmarking tools and enterprise red-teaming products. Behind the headline, a 14px-pitch canvas grid of tiny superscript score digits radiates upward from the console rim and out from its sides as if the console were the light source. Inside the 12px evaluation workbench, visitors switch between three live benchmark suites (Tool-Use Accuracy, SQL & RAG Faithfulness, Adversarial Guardrails), scrub the 4-model Catmull-Rom cubic Bezier spline chart across 30 days of CI runs, and click any row in the 4x4 scenario heat matrix to inspect its graded trace assertion and superscript policy rules.

States

scan-head spline reveal
On mount and suite switch, a spring-driven clip path sweeps across the 4-model Catmull-Rom spline chart from left to right.
pointer chart scrub
Dragging or moving across the spline chart snaps the vertical cursor and smart-flipping readout card to any evaluation date.
suite switch
Clicking Tool-Use Accuracy, SQL & RAG Faithfulness or Adversarial Guardrails glides the active pill, rolls all 4 KPIs via NumberRoll and pulses the horizon field.
scenario row inspect
Clicking any row in the bottom 4x4 heat matrix highlights the row, updates the graded trace assertion excerpt and rescales the 4 model pass-rate bars.
reduced motion
Renders the full spline curves immediately without scan-head sweep or spring thumb transitions.

Usage

usage.tsx
import { EvalHero } from "@/components/eval-hero";<EvalHero  brand="Veritas"  tone="graphite"  headline={["Ship AI agents that", "never silently regress"]}  subheadline="Replay production agent trajectories across Claude 3.7, GPT-4.5, Gemini 2.5 and DeepSeek R1 on every pull request."  primaryAction={{ label: "Start free eval suite", href: "/signup" }}/>

Depends on lucide-react, installed for you by the CLI along with the keyframes it needs.

Works with

Multi-model AI evaluation hero at the top of an observability homepage

Place EvalHero at the top of your marketing page. Pass `tone="graphite"` for a dark studio console, or `tone="paper"` for a daylight compliance console.

example.tsx
import { EvalHero } from "@/components/eval-hero";export function HomeHero() {  return (    <div className="mx-auto max-w-[1360px] p-3 sm:p-4">      <EvalHero        brand="Veritas"        brandMark="V"        tone="graphite"        badgeTag="EVALS 3.0"        badgeText="Grade every tool call, SQL query and reasoning trace before production"        headline={["Ship AI agents that", "never silently regress"]}        subheadline="Replay production agent trajectories across Claude 3.7, GPT-4.5, Gemini 2.5 and DeepSeek R1—catching broken tool calls and hallucinated parameters on every pull request."        primaryAction={{ label: "Start free eval suite", href: "/start" }}        secondaryAction={{ label: "Explore live benchmark", href: "/benchmark" }}      />    </div>  );}

Props

brand
string
Brand wordmark rendered in the top navigation bar.
brandMark
string
Single character rendered inside the 26x26 solid logo tile.
navLinks
EvalHeroNavLink[]
Superscript-numbered navigation links with gliding neutral hover pill.
navSecondaryAction
EvalHeroAction
Optional subtle right-hand navigation link.
navPrimaryAction
EvalHeroAction
Primary top-right navigation CTA button.
badgeTag
string
Bold tag pill inside the announcement badge above the headline.
badgeText
string
Supporting announcement text inside the top pill.
headline
string[]
Two display headline lines.
subheadline
string
Supporting description paragraph below the headline.
primaryAction
EvalHeroAction
Primary high-contrast hero CTA button.
secondaryAction
EvalHeroAction
Optional secondary hero CTA button.
suites
EvalHeroSuite[]
Three interactive evaluation suites driving the 4 KPIs, 4-model spline chart, assertion card and 4x4 scenario heat matrix.
tone= "graphite"
"graphite" | "paper"
"graphite" renders a dark studio console; "paper" renders a daylight paper console.

Accessibility and motion

  • Pure 2D canvas superscript horizon field and zero-dependency SVG Catmull-Rom spline engine.
  • Canvas redraws synchronously inside ResizeObserver so switching between desktop and mobile viewports never flashes.

Requirements

React 19, Tailwind CSS v4 and shadcn/ui theme variables (any style, light and dark). Icons from lucide-react.

The CLI also installs Text morph, Number roll.

Source

Part of All-Access

Agent evals hero is 1,833 lines of finished work.

  • components/eval-hero.tsx1,069 lines
  • components/eval-hero-engine.tsx562 lines
  • components/ui-interaction-motion.ts202 lines

Installs with npx shadcn add @hairline-pro/eval-hero, in your theme, light and dark.

$159once, for everything

The 55 paid templates alone are $2,145 one by one.

  • Agent evals hero: the source and the CLI install
  • Every premium block: 8 today, and each one we add
  • All 63 Next.js templates, with live demos
  • Commercial license for unlimited client sites
Get All-Access

7 more templates and it goes to $169. Full refund within 14 days, until your first download.

Already have All-Access? Sign in to see the source