Sajad Entesari

Facts Hero

Heroes

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>
  )
}

Dependencies

More by Sajad Entesari

View all
  • Sector Wheel

    Sector Wheel

    5
  • Torn Portrait Scroll

    Torn Portrait Scroll

    3
  • Timeline Scrubber

    Timeline Scrubber

    2
  • Slat Shutter Hero

    Slat Shutter Hero

    2
  • Scattered About

    Scattered About

    1
  • Scroll Fill Headline

    Scroll Fill Headline

    1
  • Bento Mini UI

    Bento Mini UI

    1
  • Morph Island

    Morph Island

    1

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    440
  • Editorial Collage Hero

    Editorial Collage Hero

    501
  • Aero Hero-3

    Aero Hero-3

    614
  • Hero 03

    Hero 03

    372