Skip to content

Hero with illustration in React

Headline, promise and two actions on the left, vector illustration on the right.

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

IllustratedHero.tsx
export function IllustratedHero() {
  return (
    <section className="mx-auto grid max-w-6xl items-center gap-10 px-5 py-16 min-[900px]:grid-cols-[1.1fr_1fr] min-[900px]:py-24">
      <div>
        <p className="mb-4 inline-block rounded-full bg-orange-100 px-3 py-1.5 text-sm font-bold text-orange-900 dark:bg-[#3a1a09] dark:text-orange-300">
          Artisan certifié RGE
        </p>
        <h1 className="text-4xl leading-[1.05] font-extrabold tracking-tight md:text-6xl">
          Votre maison rénovée, sans mauvaise surprise
        </h1>
        <p className="mt-5 mb-8 max-w-136 text-lg leading-relaxed text-orange-900 dark:text-orange-300">
          Isolation, extension et rénovation complète en Loire-Atlantique. Un seul interlocuteur, un

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
  • A large serif composition, sober and composed, for liberal professions.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A powerful headline followed by a row of three reassuring figures.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component