Skip to content

Hero with key figures in React

A powerful headline followed by a row of three reassuring figures.

Here is an excerpt of this component's code in React. The full code is free for members, ready to copy into your project.

This component also comes in

Open in a new tab

The code in React

KeyFiguresHero.tsx
export function KeyFiguresHero() {
  return (
    <section className="mx-auto grid max-w-6xl justify-items-start gap-5 px-5 pt-20 pb-16">
      <h1 className="max-w-[14ch] text-5xl leading-[0.95] font-black tracking-[-0.04em] uppercase md:text-8xl">
        Retrouvez votre forme, à votre rythme
      </h1>
      <p className="max-w-lg text-lg leading-relaxed text-neutral-300">
        Coaching individuel et en petits groupes à Lille, en salle ou en extérieur. Premier bilan
        offert.
      </p>
      <a
        href="#bilan"

Free component: copy it freely, including for commercial projects.

Hero sections components in React
  • A dark hero where very large words, outlined or at low opacity, pass behind a two-column text. The animation is CSS only, with no script and no image.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A festival or fair header: dates, venue, featured artists, a real countdown to opening and ticket options.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Headline, service area, Google rating and job-site photo, with a direct call button and a short callback form (name, phone, need).

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A bright, warm hero: highlighted promise, two buttons, an avatar stack with a rating out of 5, and on the right a customer quote surrounded by result chips.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Headline, promise and two actions on the left, vector illustration on the right.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A large serif composition, sober and composed, for liberal professions.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component