About
A dark hero with a light serif headline, two buttons and a large photo panel carrying a frosted "at a glance" card. Rows rise in one by one and the figures roll on digit reels when the hero comes into view. Built for firms and services that sell on credibility.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Facts Hero to your project and fits it to your theme.
Code
How Facts Hero is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { FactsHero } from "@/components/ui/facts-hero"
const IMG = "https://cdn.jsdelivr.net/gh/rm-sjent/21st-assets@v1/img/"
export default function FactsHeroDemo() {
return (
<div className="w-full bg-white" style={{ fontFamily: "Geist, ui-sans-serif, system-ui, sans-serif" }}>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Geist:wght@300..600&family=Newsreader:ital,opsz,wght@0,6..72,300..500;1,6..72,300..400&display=swap" precedence="default" />
<style>{`.font-serif{font-family:"Newsreader","Iowan Old Style","Palatino Linotype",Georgia,serif}`}</style>
<FactsHero
title={
<>
Clear advice for <em className="italic">people</em> on the move
</>
}
body="Halden is an independent advisory firm in London. We help families and growing companies relocate, hire and settle, with a partner on every file."
primary={{ label: "Book a call", href: "#" }}
secondary={{ label: "Our services", href: "#" }}
image={`${IMG}hero-office.jpg`}
facts={[
{ label: "Years in practice", value: "14", roll: true },
{ label: "Clients helped", value: "2,400+", roll: true, highlight: true },
{ label: "Average rating", value: "4.9 of 5" },
{ label: "Countries covered", value: "38", roll: true },
{ label: "Partners", value: "6" },
{ label: "Founded", value: "2011, London" },
]}
/>
</div>
)
}
















