Skip to content
OAIT Design System

Design system / Components

Hero

The top of a marketing page: a tonal panel that holds the page's one statement headline, a one-sentence lead, its main action, and the product's art.

When to use

  • The first block of every marketing landing page (oait /, Global ID /, Global Jobs /en, Global Games /, Tamakkan /), right under the site header. It holds the page's one h1 and its one filled 56px button (canonical §11 row 1, D-CSN-35, D-CAI-04).
  • The compact page hero (.oa-hero--compact): the top of a secondary marketing or help page that needs a statement and an action but no art, such as Global Jobs' employer page or Global Games' staff guide.
  • Follow a landing hero with the optional trust strip: three or four reassurances in one row (canonical §11 row 1).

When not to use

Situation Use instead
An app screen: Home, settings, admin, a station No hero. The app page title is text-headline-sm md:text-display-sm (App home, canonical §3.5)
Sign-in, registration, recovery The tonal frame and floating form card of Authentication
A section further down a landing page A section header and its content
The closing call to action of a page A centered section header with one filled button, or the CTA band
Legal and help pages that are mostly reading The max-w-reading column with a plain h1 (Legal and help)
A second hero on the same page Never: one hero, one h1, and one hand-drawn underline per page (D-BCP-17)

Anatomy

  1. Panel: the tonal panel, .oa-panel.oa-panel--hero (surface-container-low, rounded-hero, hero padding). It positions, isolates, and clips the decoration (Panel, canonical §10.11).
  2. Shapes (optional): up to four kit shapes, .oa-shape, at least one cropped by the panel edge, aria-hidden (Decoration kit).
  3. Text column (.oa-hero__text), start-aligned at every width:
    1. Eyebrow: the dot pill, .oa-dot-pill--brand (or --soon or --live when the page announces a state) (Chip).
    2. Title (.oa-hero__title): the h1 in hero-lg, a two-beat statement. The second beat is .oa-hero__accent in primary-ink, optionally with the hand-drawn underline .oa-underline.
    3. Lead (.oa-hero__lead): one sentence in lead, at most 30em.
    4. Action row (.oa-hero__actions on .oa-actions.oa-actions--page): a filled lg button and an outlined lg button (Button). A sign-up form (.oa-hero__form) may take its place.
    5. Trust note (.oa-hero__trust): a 20px icon and one line in body-md.
  4. Art column (.oa-hero__art): the product's slot, at most 480px, after the text in the DOM and on screen.
    1. Stage (.oa-hero__stage): the motion region. It holds the art, any drifting shapes, and the Pause control; it carries the id the control names.
    2. Pause control (.oa-pause): only when anything in the art moves for more than 5 seconds (Pause control).

Variants

Variant Use for Key tokens
Landing hero The first block of a landing page --color-surface-container-low, --radius-hero, --text-hero-lg, --color-primary-ink (accent), --color-primary (underline)
With moving art A card stack, drifting shapes: anything that loops or auto-advances --animate-drift, --animate-drift-slow, --duration-interval-carousel, plus the Pause control
Sign-up form in the action slot A page whose job is signing up (Tamakkan's launch list) Text field .oa-field and a filled lg button, side by side from 640px
Compact page hero (.oa-hero--compact) The top of secondary marketing and help pages; no art. Canonical names page-header panels (§5.2) and long heroes (§3.5) without an anatomy, so the compact hero is the landing hero's text column alone --text-hero-md, the feature padding, --container-reading
Endorsed brand Tamakkan, with data-product="tamakkan" on <html> The accent beat, the underline, the filled button, and the dot take the violet slot; pastels stay the family's (canonical §2.10)

Sizes

Size Height Padding Type style Icon size
Landing hero the content's (never a fixed height) inline 20px, 40px from 640px, 64px from 1024px (px-5 sm:px-10 lg:px-16); block 48px, 80px from 1024px (py-12 lg:py-20) h1 hero-lg (44px at 390px, 76px from 1280px); lead lead (18px, 20px from about 890px); trust note body-md trust icon 20px (--size-icon-md); button icons 20px
Compact page hero the content's the same inline padding; block 40px, 64px from 1024px (py-10 lg:py-16) h1 hero-md (32px at 390px, 56px from 1280px) the same
  • Columns: one column below 1024px, text then art, 40px apart (gap-split); from 1024px 1.05fr 1fr, 48px apart (lg:gap-split-expanded), centered on each other (C-5, D-LAY-08).
  • The text column stacks its parts 24px apart (gap-6); the action row sits 8px further (32px under the lead) (canonical §4.5).
  • The art column is at most 480px (max-w-120) and centered in its track (canonical §10.27).
  • The title is at most 13em wide and the lead 30em (canonical §3.8).
  • The reference stage is a 4:3 box (aspect-ratio: 4 / 3) with the Pause control at its bottom inline-end corner; a product's art may size the stage itself.

Tokens

Part Property Token
Panel background, text --color-surface-container-low, --color-on-surface
Panel corner, edge --radius-hero; a transparent 1px border for forced colors
Panel padding --space-5, --space-10, --space-16 inline; --space-12, --space-20 block (--space-10, --space-16 compact)
Grid gap --space-split (40px), from 1024px --space-split-expanded (48px)
Text column gap --space-6 (24px)
Title type --text-hero-lg with its line height, letter spacing, and weight (--text-hero-md compact)
Accent beat color --color-primary-ink (5.45:1 or more on the panel in both themes)
Underline stroke --color-primary (decoration: like the eyebrow rule, a decorative line may take the fill; text never does)
Lead type, color --text-lead, --color-on-surface-variant
Action row gap, offset --space-3 (12px); --space-2 above it
Trust note type, color --text-body-md, --color-on-surface-variant
Trust icon color --color-primary-ink; --color-success for safety claims
Art column width 480px at most (30rem, a component constant; container-art is a 1.1 token request, Changelog)
Shapes fill, opacity, layer --color-pastel-peach, -lavender, -mint, -sand; --opacity-decor (0.8), --opacity-decor-soft (0.7) from 224px; --z-behind
Entrance animation --animate-rise (--duration-extra-long-1, 700ms, --ease-emphasized)
Drift animation --animate-drift (--duration-loop-drift, 14s), --animate-drift-slow (--duration-loop-drift-slow, 18s, reversed)

States

The hero has no state of its own; its parts do.

State What changes
Enabled The resting composition. Buttons and links follow their own pages
Hover, pressed Buttons: an 8% (--opacity-state-hover) or 12% (--opacity-state-pressed) layer of the label color; nothing lifts, scales, or nudges (C-1, D-SEM-15)
Focus-visible The family ring on each focusable part; the panel itself never takes focus
Moving Drifting shapes and the card stack run inside the stage; the Pause control reads "Pause animation"
Paused data-motion="paused" on the stage: every animation inside stops where it is and the auto-advance stops; the control reads "Play animation"
Reduced motion Nothing moves, the entrance does not play, and the Pause control is hidden; every part shows its resting style
Error (sign-up form) The field's error line and aria-invalid="true"; focus moves to the field (Text field)
Loading (sign-up form) The button keeps its width and color with aria-busy="true", a spinner, and "Sending…" (Button)

Behavior

  • Entrance. The text column and the art column rise once as the page opens (animate-rise: 16px up and a fade over 700ms ease-emphasized). It is the page's only entrance; sections never reveal on scroll (D-SEM-19).
  • Text first. The text column comes first in the DOM and on screen at every width, so the headline and the main button come first for everyone and focus order matches the visual order (D-LAY-08, WCAG 2.4.3).
  • Phones. Below 640px the two buttons fill the width and stack, the filled one on top; long labels wrap to a second line instead of overflowing (Button, .oa-actions--page).
  • Art. The art column is the product's slot: the platform passport stack (oait, Global ID), a device preview (Global Games), the collage (Tamakkan), or kit shapes (Global Jobs and new products) (D-BCP-39). The card stack follows its recipe: a swap every --duration-interval-carousel (4200ms) over --duration-extra-long-1 with --ease-spring, mirrored in Arabic, a mouse-only tilt (Passport card, canonical §7.6). Art may tilt as illustration only (±3°, ±7°, or ±12°, never beyond ±15°; the text column and controls never tilt); a device preview stays within ±7° and carries the visible caption "Illustrative product preview" at 12px or more (canonical §9, §12.5).
  • Motion region. Everything that moves sits inside .oa-hero__stage with the Pause control. The stage sits inside the rising art column, so a paused region never freezes the entrance halfway (D-SEM-17). The entrance is a one-shot, so a pause never holds it: under a paused ancestor (a region drawn around the whole hero, a page-wide pause) the columns show their resting style at once instead of the first, invisible frame of oa-rise (canonical §7.4, §7.5).
  • Auto-advance waits while the pointer is over the stage or focus is inside it, stops for good once the person picks an item, and never runs under reduced motion (canonical §7.5).
  • Keyboard. Tab reaches the buttons (or the form), then the art's own controls (the Pause control first, then the platform tiles, D-CSN-38). Nothing in the hero traps focus or reacts to arrow keys.

Closed (D-CSN-53, 2026-11-21): no site header carries a call to action, so the client call D-CAI-04 no longer applies; every page has exactly one orange fill, in its content.

Accessibility

  • Element. <section aria-labelledby="{h1 id}">: a named region whose name is the headline. The h1 is the page's only one and the first heading in <main id="main" tabindex="-1"> (canonical §11).
  • Headline. Screen readers read the two beats as one heading ("Good work. Closer to home."). The space between the beats stays in the source. The underline SVG is aria-hidden="true".
  • Decoration and art. Every shape is aria-hidden="true" and ignores the pointer. Art that carries meaning (the platform stack) is aria-hidden with one visually hidden sentence that says what it shows; decorative art has none (canonical §9, §10.27).
  • Targets. Buttons are 56px tall; the Pause control is 48×48px; the sign-up field is 56px.
  • Contrast. on-surface on the panel, the accent in primary-ink (5.45:1 or more), and the lead and trust note in on-surface-variant (7.2:1 or more light, 5.4:1 or more dark). The underline and shapes are decoration and carry no meaning; where a shape ends up behind text (the big corner shape on phones), that text keeps 4.5:1 against the composite color, which the audit in tools/ measures (canonical §9, D-SEM-07).
  • Motion. Anything that moves for more than 5 seconds has the Pause control (WCAG 2.2.2). Under prefers-reduced-motion: reduce nothing moves and the control is hidden (canonical §7.7).
  • Forms. The sign-up field has a visible label, type="email", autocomplete="email", and a left-to-right box (dir="ltr" on .oa-field__control, so an address reads correctly on Arabic pages; canonical §10.0); the reassurance line under the button says what happens next (canonical §12.5).

RTL and languages

  • Everything mirrors through logical properties: the art column moves to the left, the shapes follow their inline insets, the underline flips (scaleX(-1)), and a trailing arrow_forward turns (.oa-icon--mirror). Pause and play glyphs never mirror (canonical §8.3, §14.2).
  • Arabic keeps the Latin sizes with taller lines: hero-lg and hero-md at line height 1.45 with no tracking, lead at 1.8 (the :lang(ar) block of oait.css). The underline's bottom edge sits 0.04em above the bottom of the beat's box instead of 0.2em below it, because the Arabic line box is taller (oait's production values).
  • Product names inside Arabic copy sit in <bdi lang="en" translate="no"> (canonical §14.2).
  • Arabic action labels are verbal nouns ("تسجيل الدخول", "استكشاف الوظائف"); choices that speak as the person keep the first person ("أبحث عن موظّفين") (canonical §12.6).
  • French runs about 26% longer overall and up to 32% for short labels: check the hero at 360px. Labels wrap; they never truncate (canonical §3.7, D-TYP-15).

Content

  • Eyebrow (dot pill): 2–5 words, sentence case, no full stop: "A new chapter starts here" (Global Jobs), "Global University · Campus Play" (Global Games), "Public tests are coming soon" (Tamakkan, --soon). Two ideas join with " · " (D-BCP-17).
  • Title: a statement of two beats, 2–7 words each, each ending with a full stop; the second beat may take primary-ink; one hand-drawn underline per page, under that beat (D-BCP-17, canonical §12.2). "Good work. Closer to home." (Global Jobs), "A campus day. Worth playing." (Global Games), "Get to know you. Find your next step." (Tamakkan), "Know where to go. Know what to do." (Global Games staff guide). A short accent beat underlines best: when the beat wraps, its box and the underline take the column's width, as on oait today.
  • Lead: one sentence of 12–25 words in on-surface-variant (canonical §12.1): "Tamakkan connects your personality and interests with study and career options worth exploring." (Tamakkan), "We help universities, organizations, and professionals adopt AI responsibly, with training people use, roadmaps leaders trust, and software built for real work." (oait). A two-sentence lede keeps one sentence: Global Jobs' becomes "Discover jobs and internships across the Middle East and North Africa."
  • Buttons: verb first, 1–4 words. The filled one is the page's main action, the outlined one the second path: "Explore jobs" and "I’m hiring" (Global Jobs), "Book a briefing" and "See what we’ve built" (oait), "Sign in" and "Install the app" (Global ID), "Sign in" and "Explore the demo" (Global Games). A trailing arrow_forward says the link stays in the product; north_east that it leaves; submits such as "Notify me at launch" never take an arrow (D-CAI-05).
  • Trust note: one reassurance line: "Free for job seekers" (verified_user in success), "Launched from Global University in Lebanon" (location_on in primary-ink), "We’ll send a link to confirm your email. No test account needed." (mail, under a sign-up form) (canonical §12.5).
  • Arabic (Global Jobs): "هنا تبدأ حكاية جديدة" · "فرصتك القادمة. أقرب إليك." · "اكتشف الوظائف وفرص التدريب في مختلف أنحاء الشرق الأوسط وشمال أفريقيا." · "استكشاف الوظائف" (native review: production writes the imperative "استكشف الوظائف") · "أبحث عن موظّفين" · "مجانًا للباحثين عن عمل".
  • French (Global ID): "Un seul ID pour tout le monde à Global University." · "Votre carte d’identité officielle et votre passe pour le campus sur votre téléphone, pour les étudiants, le personnel et les invités." · "Se connecter" · "Installer l’application".

Do and don't

Do Don't
Put the text first at every width, start-aligned Center the hero text or put the art above it on phones (Global ID today)
One filled lg button and one outlined lg button Two filled buttons, a ghost button, or four CTA styles (Global Games today)
A two-beat statement with full stops: "Good work. Closer to home." A label without a full stop, Title Case, or an exclamation mark
The Pause control inside the region whenever anything loops or auto-advances Loops with no way to stop them (Global ID today, WCAG 2.2.2)
Pastel kit shapes at 0.8, or 0.7 from 224px, placed with logical insets Status colors, primary, or gradients as shapes; left and right placement
One animate-rise entrance on the hero Scroll reveals, parallax, or an underline that draws itself in
The accent beat in primary-ink The accent in primary (2.63:1 on the page, 2.49:1 on the panel)

Code

HTML (reference CSS)

The landing hero with moving art (Global Jobs):

<section class="oa-panel oa-panel--hero oa-hero" aria-labelledby="mk-hero-jobs-title">
  <span class="oa-shape oa-shape--circle oa-shape--peach oa-shape--soft" aria-hidden="true" style="--oa-shape-size: 300px; inset-block-start: -96px; inset-inline-start: -80px"></span>
  <div class="oa-hero__text">
    <p class="oa-dot-pill oa-dot-pill--brand"><span class="oa-dot-pill__dot" aria-hidden="true"></span>A new chapter starts here</p>
    <h1 class="oa-hero__title" id="mk-hero-jobs-title">Good work. <span class="oa-hero__accent">Closer to home.<svg class="oa-underline" viewBox="0 0 300 16" preserveAspectRatio="none" aria-hidden="true"><path d="M2 11 C 60 3, 140 2, 298 8" fill="none" stroke="currentColor" stroke-width="5" stroke-linecap="round"/></svg></span></h1>
    <p class="oa-hero__lead">Discover jobs and internships across the Middle East and North Africa.</p>
    <div class="oa-actions oa-actions--page oa-hero__actions">
      <a class="oa-btn oa-btn--filled oa-btn--lg" href="#jobs"><span class="oa-btn__label">Explore jobs</span><span class="oa-icon oa-icon--mirror oa-btn__icon" aria-hidden="true" translate="no">arrow_forward</span></a>
      <a class="oa-btn oa-btn--outlined oa-btn--lg" href="#for-employers"><span class="oa-btn__label">I’m hiring</span></a>
    </div>
    <p class="oa-hero__trust oa-hero__trust--safety"><span class="oa-icon oa-icon--md" aria-hidden="true" translate="no">verified_user</span><span>Free for job seekers</span></p>
  </div>
  <div class="oa-hero__art">
    <div class="oa-hero__stage" id="mk-hero-jobs-art">
      <span class="oa-shape oa-shape--squircle oa-shape--lavender oa-shape--turn-12 oa-shape--drift" aria-hidden="true" style="--oa-shape-size: clamp(96px, 34%, 160px); inset-block-start: 6%; inset-inline-end: 6%"></span>
      <span class="oa-shape oa-shape--cookie oa-shape--mint oa-shape--drift-slow" aria-hidden="true" style="--oa-shape-size: clamp(136px, 44%, 200px); inset-block-end: 0; inset-inline-start: 8%"></span>
      <span class="oa-shape oa-shape--sunny oa-shape--sand" aria-hidden="true" style="--oa-shape-size: clamp(72px, 20%, 96px); inset-block-start: 10%; inset-inline-start: 30%"></span>
      <button type="button" class="oa-pause" aria-controls="mk-hero-jobs-art" aria-label="Pause animation"><span class="oa-icon" aria-hidden="true" translate="no">pause</span></button>
    </div>
  </div>
</section>

The sign-up form in the action slot, art that stands still and so no Pause control (Tamakkan; its pages set data-product="tamakkan" on <html>):

<section class="oa-panel oa-panel--hero oa-hero" aria-labelledby="mk-hero-tamakkan-title">
  <span class="oa-shape oa-shape--circle oa-shape--lavender oa-shape--soft" aria-hidden="true" style="--oa-shape-size: 300px; inset-block-end: -120px; inset-inline-end: -96px"></span>
  <div class="oa-hero__text">
    <p class="oa-dot-pill oa-dot-pill--soon"><span class="oa-dot-pill__dot" aria-hidden="true"></span>Public tests are coming soon</p>
    <h1 class="oa-hero__title" id="mk-hero-tamakkan-title">Get to know you. <span class="oa-hero__accent">Find your next step.<svg class="oa-underline" viewBox="0 0 300 16" preserveAspectRatio="none" aria-hidden="true"><path d="M2 11 C 60 3, 140 2, 298 8" fill="none" stroke="currentColor" stroke-width="5" stroke-linecap="round"/></svg></span></h1>
    <p class="oa-hero__lead">Tamakkan connects your personality and interests with study and career options worth exploring.</p>
    <form class="oa-hero__form" action="#launch-updates" method="post" novalidate>
      <div class="oa-field">
        <label class="oa-field__label" for="mk-launch-email">Your email address</label>
        <div class="oa-field__control" dir="ltr">
          <input class="oa-field__input" id="mk-launch-email" name="email" type="email" autocomplete="email" autocapitalize="none" spellcheck="false">
        </div>
      </div>
      <button type="submit" class="oa-btn oa-btn--filled oa-btn--lg"><span class="oa-btn__label">Notify me at launch</span></button>
    </form>
    <p class="oa-hero__trust"><span class="oa-icon oa-icon--md" aria-hidden="true" translate="no">mail</span><span>We’ll send a link to confirm your email. No test account needed. <a class="oa-link" href="#privacy">Privacy notice</a></span></p>
  </div>
  <div class="oa-hero__art">
    <div class="oa-hero__stage">
      <span class="oa-shape oa-shape--flower oa-shape--peach" aria-hidden="true" style="--oa-shape-size: clamp(144px, 46%, 220px); inset-block-start: 4%; inset-inline-start: 12%"></span>
      <span class="oa-shape oa-shape--clover oa-shape--mint oa-shape--turn-18" aria-hidden="true" style="--oa-shape-size: clamp(88px, 26%, 120px); inset-block-end: 6%; inset-inline-end: 12%"></span>
    </div>
  </div>
</section>

The compact page hero (Global Games staff guide):

<section class="oa-panel oa-panel--feature oa-hero oa-hero--compact" aria-labelledby="mk-hero-guide-title">
  <span class="oa-shape oa-shape--blob oa-shape--lavender oa-shape--soft" aria-hidden="true" style="--oa-shape-size: 240px; inset-block-start: -96px; inset-inline-end: -64px"></span>
  <span class="oa-shape oa-shape--circle oa-shape--sand" aria-hidden="true" style="--oa-shape-size: 72px; inset-block-end: -40px; inset-inline-end: 24%"></span>
  <div class="oa-hero__text">
    <p class="oa-dot-pill oa-dot-pill--brand"><span class="oa-dot-pill__dot" aria-hidden="true"></span>Staff guide</p>
    <h1 class="oa-hero__title" id="mk-hero-guide-title">Know where to go. <span class="oa-hero__accent">Know what to do.</span></h1>
    <p class="oa-hero__lead">Choose your role for three clear steps, the screen to open, and what a successful action looks like.</p>
    <div class="oa-actions oa-actions--page oa-hero__actions">
      <a class="oa-btn oa-btn--filled oa-btn--lg" href="#demo"><span class="oa-btn__label">Start the interactive demo</span></a>
      <a class="oa-btn oa-btn--outlined oa-btn--lg" href="#my-events"><span class="oa-btn__label">Open my events</span></a>
    </div>
  </div>
</section>

Arabic, in a page with <html lang="ar" dir="rtl">:

<section class="oa-panel oa-panel--hero oa-hero" aria-labelledby="mk-hero-jobs-ar-title">
  <span class="oa-shape oa-shape--circle oa-shape--peach oa-shape--soft" aria-hidden="true" style="--oa-shape-size: 300px; inset-block-start: -96px; inset-inline-start: -80px"></span>
  <div class="oa-hero__text">
    <p class="oa-dot-pill oa-dot-pill--brand"><span class="oa-dot-pill__dot" aria-hidden="true"></span>هنا تبدأ حكاية جديدة</p>
    <h1 class="oa-hero__title" id="mk-hero-jobs-ar-title">فرصتك القادمة. <span class="oa-hero__accent">أقرب إليك.<svg class="oa-underline" viewBox="0 0 300 16" preserveAspectRatio="none" aria-hidden="true"><path d="M2 11 C 60 3, 140 2, 298 8" fill="none" stroke="currentColor" stroke-width="5" stroke-linecap="round"/></svg></span></h1>
    <p class="oa-hero__lead">اكتشف الوظائف وفرص التدريب في مختلف أنحاء الشرق الأوسط وشمال أفريقيا.</p>
    <div class="oa-actions oa-actions--page oa-hero__actions">
      <a class="oa-btn oa-btn--filled oa-btn--lg" href="#jobs-ar"><span class="oa-btn__label">استكشاف الوظائف</span><span class="oa-icon oa-icon--mirror oa-btn__icon" aria-hidden="true" translate="no">arrow_forward</span></a>
      <a class="oa-btn oa-btn--outlined oa-btn--lg" href="#for-employers-ar"><span class="oa-btn__label">أبحث عن موظّفين</span></a>
    </div>
    <p class="oa-hero__trust oa-hero__trust--safety"><span class="oa-icon oa-icon--md" aria-hidden="true" translate="no">verified_user</span><span>مجانًا للباحثين عن عمل</span></p>
  </div>
  <div class="oa-hero__art">
    <div class="oa-hero__stage" id="mk-hero-jobs-ar-art">
      <span class="oa-shape oa-shape--squircle oa-shape--lavender oa-shape--turn-12 oa-shape--drift" aria-hidden="true" style="--oa-shape-size: clamp(96px, 34%, 160px); inset-block-start: 6%; inset-inline-end: 6%"></span>
      <span class="oa-shape oa-shape--cookie oa-shape--mint oa-shape--drift-slow" aria-hidden="true" style="--oa-shape-size: clamp(136px, 44%, 200px); inset-block-end: 0; inset-inline-start: 8%"></span>
      <span class="oa-shape oa-shape--sunny oa-shape--sand" aria-hidden="true" style="--oa-shape-size: clamp(72px, 20%, 96px); inset-block-start: 10%; inset-inline-start: 30%"></span>
      <button type="button" class="oa-pause" aria-controls="mk-hero-jobs-ar-art" aria-label="إيقاف الحركة مؤقتًا"><span class="oa-icon" aria-hidden="true" translate="no">pause</span></button>
    </div>
  </div>
</section>

The Pause control's script contract is on its page. Every variant is in reference/snippets/marketing.html; the CSS is reference/css/marketing.css, with the panel from panel.css and the button row from button.css.

Tailwind CSS v4

<section
  aria-labelledby="hero-title"
  className="relative isolate grid items-center gap-split overflow-hidden rounded-hero border border-transparent bg-surface-container-low px-5 py-12 text-on-surface sm:px-10 lg:grid-cols-[minmax(0,1.05fr)_minmax(0,1fr)] lg:gap-split-expanded lg:px-16 lg:py-20"
>
  <span aria-hidden="true" className="pointer-events-none absolute -start-20 -top-24 -z-1 size-75 rounded-full bg-pastel-peach opacity-(--opacity-decor-soft) print:hidden" />

  <div className="flex min-w-0 animate-rise flex-col items-start gap-6">
    <p className="inline-flex min-h-[34px] items-center gap-2 rounded-full border border-outline-variant bg-surface-container-lowest py-1.5 ps-2 pe-4 text-body-md font-medium text-on-surface-variant">
      <span aria-hidden="true" className="size-2.5 shrink-0 rounded-full bg-primary" />
      A new chapter starts here
    </p>
    <h1 id="hero-title" className="max-w-[13em] text-hero-lg text-balance">
      Good work.{" "}
      <span className="relative block w-fit max-w-full text-primary-ink">
        Closer to home.
        <svg aria-hidden="true" viewBox="0 0 300 16" preserveAspectRatio="none" className="pointer-events-none absolute start-0 -bottom-[0.2em] h-[0.16em] w-full overflow-visible rtl:bottom-[0.04em] rtl:-scale-x-100">
          <path className="stroke-primary" d="M2 11 C 60 3, 140 2, 298 8" fill="none" stroke="currentColor" strokeWidth={5} strokeLinecap="round" />
        </svg>
      </span>
    </h1>
    <p className="max-w-[30em] text-lead text-pretty text-on-surface-variant">
      Discover jobs and internships across the Middle East and North Africa.
    </p>
    <div className="mt-2 flex w-full flex-col gap-3 sm:flex-row sm:flex-wrap">
      <Button variant="filled" size="lg" href="/en/jobs" trailingIcon="arrow_forward">Explore jobs</Button>
      <Button variant="outlined" size="lg" href="/en/for-employers">I’m hiring</Button>
    </div>
    <p className="flex items-center gap-2 text-body-md text-on-surface-variant">
      <Icon name="verified_user" size={20} className="shrink-0 text-success" />
      Free for job seekers
    </p>
  </div>

  <div className="relative w-full max-w-120 min-w-0 animate-rise justify-self-center">
    <div id="hero-art" className="relative aspect-4/3">
      <span aria-hidden="true" className="pointer-events-none absolute end-[6%] top-[6%] -z-1 aspect-square w-[clamp(96px,34%,160px)] rotate-12 rounded-[25%] bg-pastel-lavender opacity-(--opacity-decor) animate-drift print:hidden" />
      <span aria-hidden="true" className="pointer-events-none absolute start-[8%] bottom-0 -z-1 aspect-square w-[clamp(136px,44%,200px)] bg-pastel-mint opacity-(--opacity-decor) mask-[url(/brand/shapes/sh-cookie.svg)] mask-contain mask-center mask-no-repeat animate-drift-slow print:hidden" />
      <PauseControl controls="hero-art" className="absolute end-0 bottom-0" />
    </div>
  </div>
</section>
  • Button, Icon, and PauseControl are the family components (Button, Iconography, Pause control). The buttons fill the width below 640px because the row is a column there.
  • The compact page hero drops the grid and the art column: rounded-hero bg-surface-container-low px-5 py-10 sm:px-10 lg:px-16 lg:py-16, the text column max-w-reading, the h1 text-hero-md.
  • The sign-up form replaces the button row with mt-2 flex w-full flex-col gap-3 sm:flex-row sm:items-end, the field sm:flex-1.
  • Serve the shape masks from the product's own public folder (a CSS mask fetched from another origin needs CORS); the reference CSS embeds them as data URIs (Imagery).

React

Prop Type Default Description
eyebrow string — The dot pill's words, 2–5 of them.
eyebrowTone "brand" | "live" | "soon" "brand" The dot: primary, success, or warning (Chip).
title string — The first beat, with its full stop.
accent string — The second beat, drawn in primary-ink.
underline boolean true Draws the hand-drawn underline under the accent beat. One per page.
lead string — One sentence of 12–25 words.
primaryAction { label: string; href: string; trailingIcon?: "arrow_forward" | "north_east" } — The filled lg button: the page's one main action.
secondaryAction { label: string; href: string } — The outlined lg button.
form ReactNode — A sign-up form in place of the two actions.
trust { icon: string; text: ReactNode; safety?: boolean } — The trust note; safety draws the icon in success.
art ReactNode — The product's art. Omit it for the compact page hero.
moving boolean false The art loops or auto-advances: renders the stage as a motion region with the Pause control inside.
compact boolean false The compact page hero: hero-md title, feature padding, no art column.
shapes ShapeProps[] [] Up to four kit shapes (Decoration kit).
<Hero
  eyebrow={t("hero.eyebrow")}
  title={t("hero.title")}
  accent={t("hero.accent")}
  lead={t("hero.lead")}
  primaryAction={{ label: t("hero.explore"), href: "/en/jobs", trailingIcon: "arrow_forward" }}
  secondaryAction={{ label: t("hero.hiring"), href: "/en/for-employers" }}
  trust={{ icon: "verified_user", text: t("hero.free"), safety: true }}
  art={<CareerVisual />}
/>

Trust strip

Three or four reassurances under the hero, each a 20px primary-ink icon and one line in body-md at weight 500, on-surface-variant (canonical §11 row 1). One column on phones, two from 640px, one row from 1024px. Not interactive, so no targets apply.

<ul class="oa-trust-strip" role="list">
  <li class="oa-trust-strip__item"><span class="oa-icon oa-icon--md" aria-hidden="true" translate="no">location_on</span>Launched from Global University, Lebanon</li>
  <li class="oa-trust-strip__item"><span class="oa-icon oa-icon--md" aria-hidden="true" translate="no">translate</span>Bilingual by design: English and Arabic</li>
  <li class="oa-trust-strip__item"><span class="oa-icon oa-icon--md" aria-hidden="true" translate="no">verified_user</span>Responsible AI, with people in charge</li>
  <li class="oa-trust-strip__item"><span class="oa-icon oa-icon--md" aria-hidden="true" translate="no">code_blocks</span>Platforms designed and built by our team</li>
</ul>

Tailwind CSS v4:

<ul role="list" className="grid gap-x-6 gap-y-3 sm:grid-cols-2 lg:grid-flow-col lg:grid-cols-none lg:auto-cols-fr">
  <li className="flex items-center gap-3 text-body-md font-medium text-on-surface-variant">
    <Icon name="location_on" size={20} className="shrink-0 text-primary-ink" />
    Launched from Global University, Lebanon
  </li>
</ul>

oait's four lines are the reference: "Launched from Global University, Lebanon", "Bilingual by design: English and Arabic", "Responsible AI, with people in charge", "Platforms designed and built by our team". Arabic (oait): "انطلق من الجامعة العالمية في لبنان", "ثنائي اللغة منذ البداية: العربية والإنجليزية", "ذكاء اصطناعي مسؤول، والقرار للإنسان", "منصات صمّمها وبناها فريقنا".

Decoration kit

The hero's shapes are the family kit (Imagery, canonical §9, D-BCP-37, D-SEM-07):

Class Draws
.oa-shape an absolute shape behind content (--z-behind), 160px by default, pastel-peach at --opacity-decor (0.8), aria-hidden, never printed
--circle, --squircle, --blob a circle, the 25% squircle, the blob 42% 58% 55% 45%
--clover, --cookie, --flower, --sunny four of the five masks in assets/shapes/ (embedded as data URIs in the reference CSS); never below 32px. The fifth, sh-squircle, stays for character backdrops and badges: decoration uses the 25% squircle
--peach, --lavender, --mint, --sand the four pastels (dark values in the dark theme)
--soft --opacity-decor-soft (0.7), for shapes of 224px and more
--turn-12, --turn-18 a 12° or 18° turn (the rotate property, so it composes with the drift)
--drift, --drift-slow animate-drift (14s) and animate-drift-slow (18s, reversed); at most two, inside the Pause control's region
--oa-shape-size the size: 72–340px, or a clamp() such as clamp(96px, 34%, 160px) so a shape scales with the art column; shapes stay square

Place each shape with logical insets (inset-block-start, inset-inline-end) so the composition mirrors in Arabic. Two to four shapes per panel, at least one cropped by the panel edge. Anchor them at the corners so text stays on the panel; where a shape still ends up behind text on phones, that text keeps 4.5:1 against the composite color (D-SEM-07).

The hand-drawn underline .oa-underline is the one SVG of Imagery: 0.16em tall, the width of the accent beat, -0.2em under it (0.04em in Arabic), primary, mirrored in RTL, aria-hidden, once per page.