Skip to content
OAIT Design System

Design system / Patterns

Detail page

A page about one item (a job, a company, a booth) with everything people need to decide, and one action kept within reach: an aside on wide screens, a sticky bar on phones. Template 5 of 11 (canonical §11, D-BCP-24).

Used by Global Jobs job and company detail, and Global Games booth detail.

Purpose

  • Give the facts that decide first (who, where, what kind, how much, until when), then the full description (D-BCP-24).
  • Keep the one main action ("Apply now") in view at every scroll position without covering content (D-CSN-50).
  • Put trust next to the action: what it costs ("Free account · takes about a minute"), what to watch for ("Never pay to apply"), how to report a problem (D-BCP-23).

When to use

  • Any item a person reached from a listing, a search, a card, or a link, and acts on: applies, registers, books, visits.

Use something else when:

Need Use
A staff record with tabs and one-field edits (a person, a station) Admin console (the record page)
A long text with no action (privacy, help) Legal and help
A signed-in person's own object (My ID) App home and the product's own page
The collection itself Listing with search and filters

Structure

A document page under the sticky site header. The frame is drawn in Layout: detail with aside.

Desktop (from 1024px)

# Block What it holds Component
0 Skip link "Skip to content" Link
1 Site header The product's header; the collection's link is current ("Find jobs") Site header
2 Back link In <nav aria-label="Breadcrumb">: a mirrored 20px arrow_back and "Back to {place}", text-label-lg text-primary-ink, 48px tall. Two or more levels up: the breadcrumb trail instead Breadcrumb
3 Notices Banners about this item: demo data, a status Banner
4 Body Two columns, 24px apart: the content column, then the action aside (320px) at the inline end —
4a Title block The h1 (text-headline-sm md:text-display-sm); the organization's name as a link with its verified status ("Verified employer", a filled success icon and words); a meta list of facts, each with a 20px icon (place, type, workplace, pay, deadline); one line of category facts Chip: inline status, Link
4b Action aside Sticky under the header (top-24, the sticky layer). A card holding: "Apply now" (filled lg, full width), the reassurance line under it, the facts that matter before acting, outlined "Save job" and "Share" side by side, then the trust links "Never pay to apply" and "Report" Card, Button, Link
5 Content h2 sections (text-title-lg): short paragraphs at max-w-measure and lists; skills as neutral status chips Chip: status
6 Organization An "About the company" card: the 48px organization avatar, the name and field, two or three sentences, and a link to its other items Card, Avatar
7 Related "Similar jobs": result cards in two columns Job card
8 Footer The product's footer Footer

(canonical §11 row 5, §4.4, §10.17, §10.29; D-BCP-24, D-CSN-17, D-CSN-26, D-CSN-45, D-CSN-50, D-LAY-14)

Phone (below 640px)

# Block What changes
2–4a Back link, notices, title block One column, in the same order
4b Action aside Follows the title block without its main action: the reassurance line, the facts, "Save job", "Share", and the trust links
5–7 Content, organization, related One column; related cards in one column
9 Sticky action bar At the bottom of the window: a one-line summary (the title in text-title-md, truncated, and the organization in text-body-md) and "Apply now" (filled lg). Glass with a top hairline, the bottom safe-area inset under it; it turns static on windows 480px tall or less, and never shows together with a navigation bar

In between (640–1023px)

  • The aside stays in the column flow and the sticky action bar stays until 1024px: the bar appears whenever the page's main action has scrolled away or lives in the aside (D-CSN-50).
  • From 1024px the 320px aside (--size-side-pane) sits beside the content, sticky at 96px under the header, and the bar goes (D-LAY-14, D-CSN-50).
  • Related cards take two columns from 640px.

Skeleton

The reference classes, as in detail.html.

<main id="main" tabindex="-1">
  <div class="oa-container oa-stack oa-stack--loose">
    <nav class="oa-breadcrumb" aria-label="Breadcrumb">
      <a class="oa-back-link" href="/en/jobs?type=full-time"><span class="oa-icon oa-icon--md oa-icon--mirror" aria-hidden="true" translate="no">arrow_back</span>Back to results</a>
    </nav>
    <div class="oa-banner oa-banner--neutral">…"Demo data: this listing is sample content for testing the platform."…</div>

    <div><!-- page layout: one column; from 1024px the content column and the 320px aside, which spans both rows -->
      <div class="oa-stack">
        <h1 class="oa-page-title" id="job-title">Frontend Developer (React)</h1>
        <p>…organization link and "Verified employer"…</p>
        <ul role="list"><!-- page layout: a wrapping row of facts, no list indent -->…meta facts, each with a 20px icon…</ul>
      </div>

      <aside class="oa-card" aria-label="Apply for Frontend Developer (React)">
        <a class="oa-btn oa-btn--filled oa-btn--lg oa-btn--wide" href="…">Apply now</a>
        <p class="oa-text-body-md oa-supporting">Free account · takes about a minute</p>
        …facts, Save job and Share, Never pay to apply and Report…
      </aside>

      <div class="oa-stack oa-stack--group">
        <section class="oa-stack" aria-labelledby="role-title">
          <h2 class="oa-text-title-lg" id="role-title">About the role</h2>
          <p class="oa-measure">…</p>
        </section>
        …Requirements, Benefits, Skills, About the company, Similar jobs…
      </div>
    </div>
  </div>

  <div class="oa-action-bar">
    <div class="oa-action-bar__summary">
      <p class="oa-action-bar__title" dir="auto">Frontend Developer (React)</p>
      <p class="oa-action-bar__supporting" dir="auto">Byblos Digital Studio (Demo)</p>
    </div>
    <a class="oa-btn oa-btn--filled oa-btn--lg" href="…">Apply now</a>
  </div>
</main>

The DOM order is title block, aside, content, so on phones the aside follows the title block. From 1024px the grid places the aside in the second column across both rows, never with the order utilities (D-BCP-30). The columns and the aside's sticky position are page layout, written in the template's page-level style; the h1 takes the page-title class, .oa-page-title (canonical §3.5). Below 1024px the aside's "Apply now" is left out and the action bar shows; from 1024px the bar is hidden (Sticky action bar).

Tailwind CSS v4 (canonical §4.4, §6.4, §10.29; D-LAY-14, D-CSN-50):

Region Tailwind v4
Page frame mx-auto flex w-full max-w-page flex-col gap-stack-loose px-gutter sm:px-gutter-medium
Body grid gap-gutter-medium lg:grid-cols-[minmax(0,1fr)_var(--size-side-pane)]
Title block and content min-w-0 lg:col-start-1; the content flex flex-col gap-stack-group, each section flex flex-col gap-stack; paragraphs max-w-measure
h1 text-headline-sm md:text-display-sm
Section h2 text-title-lg
Action aside lg:col-start-2 lg:row-span-2 lg:row-start-1 lg:sticky lg:top-24 lg:z-20 lg:self-start on a card
Related cards grid gap-grid sm:grid-cols-2
Sticky action bar sticky bottom-0 z-20 short:static flex items-center gap-3 bg-surface/80 backdrop-blur-xl border-t border-outline-variant px-4 pt-3 pb-[calc(0.75rem+env(safe-area-inset-bottom))] lg:hidden, with the opaque fallbacks of Sticky action bar
Page with the bar html { scroll-padding-bottom: calc(<bar height> + 16px) } while the bar shows

Components used

Site header · Breadcrumb (back link) · Banner (demo and status notices) · Chip (inline status "Verified employer", the deadline, neutral skill chips) · Card (action aside, "About the company") · Avatar (organization initials) · Button ("Apply now", "Save job", "Share") · Link (trust links, the organization, its website) · Icon button · Sticky action bar · Dialog and Bottom sheet ("Report this job", the sign-in prompt behind "Save job") · Snackbar ("Link copied") · Job card (similar jobs) · Footer.

Content

Element Rule Real lines (Global Jobs)
Back link "Back to {place}"; the place a person came from, with their query kept (D-CSN-17) "Back to results"
Demo notice Says what is fictional, in visible text (D-BCP-23) "Demo data: this listing is sample content for testing the platform."
h1 The item's own name "Frontend Developer (React)"
Verified status A filled success icon and words, never the icon alone "Verified employer" · "جهة توظيف موثّقة"
Meta facts One fact per item; pay with the currency code and the unit; deadlines as a warning inline status with schedule "Mount Lebanon, Lebanon" · "Full-time" · "Hybrid" · "US$1,200–1,800 per month" · "Closes in 4 days"
Category line Facts joined by " · "; "and", never "&", outside proper names; relative dates only within 7 days, then the date (D-BCP-17, D-BCP-19) "Junior (1–3 years) · Software and IT · Posted 27 October 2026" (Jobs writes "Software & IT" and "Posted last month" today, JB-2.25 and JB-2.29)
Main action Verb first; a commit, so no arrow (D-CAI-05) "Apply now"
Reassurance One line under the action, text-body-md text-on-surface-variant (D-BCP-23) "Free account · takes about a minute"
Facts before acting What the action asks for "2 short questions from the employer"
Secondary actions Verb first; the same words everywhere "Save job" · "Share"
Trust links Say where they go "Never pay to apply" · "Report" ("Report" opens "Report this job" on the page, so it is a <button> drawn as a standalone link: Link)
Section titles Labels, no full stop (D-BCP-17) "About the role" · "Requirements" · "Benefits" · "Skills" · "About the company"
Organization Who they are in one or two sentences; fictional ones say so "A fictional product studio building web and mobile apps for clients in Lebanon and Europe. Demo organization for testing the platform."
Related link Names the destination "More jobs at Byblos Digital Studio (Demo)"
Dialogs A title that names the thing; one sentence on what happens "Report this job" · "Tell our team what is wrong. Reports are private: the employer never sees who sent them." · "Save this job" · "Sign in or create a free account. We’ll save it for you as soon as you’re in."
Snackbar Object and past participle (D-BCP-20) "Link copied"

Arabic from Jobs: the deadline "تُغلق بعد 4 أيام", the badge "جهة توظيف موثّقة", the trust line "لا تدفع أبدًا مقابل التقديم" ("Never pay to apply").

States

State What the page does
Loading Server-rendered; nothing waits behind a spinner. "Apply now" keeps its colors, width, and focus while its next page or dialog loads, with a spinner and a progress label, aria-busy="true" and aria-disabled="true", and ignores presses (D-CAI-06)
Demo or status A banner under the back link: the neutral tone for demo data, the warning tone for a deadline that matters, with icon and words (D-CSN-26)
Save Signed in: "Save job" toggles (aria-pressed, the bookmark icon filled when saved) and confirms with a snackbar and "Undo". Signed out: a dialog ("Save this job") offers sign-in or a free account, and saves after sign-in
Share The device's share sheet where it exists; otherwise the link is copied and a snackbar says "Link copied" (D-CSN-25)
Report A form dialog (a bottom sheet below 768px): "What is wrong?" as choice cards, an optional "Details" field (Jobs' hint today: "What did you notice? (optional, up to 2,000 characters)"; the family marks "(optional)" beside the label, D-CAI-09), and "Cancel" and a verb; errors show in the dialog, never in a snackbar (D-CSN-21, D-CSN-22)
Error A failed send keeps the dialog open with an error banner (role="alert") that says what happened and what to do; a page that no longer exists is the family 404 (Empty, error, and offline)

Accessibility

  • Order and headings. Back link, notices, the h1 (the first heading in <main>), and the facts, then the aside, then the content and its h2s; the aside is a labeled <aside> and comes after the h1 (D-BCP-25).
  • One action, one place. On phones the aside drops its "Apply now", so the sticky bar holds the only one; there are never two "Apply now" buttons in the accessibility tree at once (D-CAI-04, D-CSN-50).
  • Not obscured. The aside sticks at 96px, under the 72px header; while the sticky bar shows, scroll-padding-bottom keeps a focused element above it (WCAG 2.4.11) (D-LAY-17).
  • Short windows. Both the header and the bar turn static at 480px of height or less, so zoomed or landscape views keep their content (D-LAY-17).
  • Status words. "Verified employer" and "Closes in 4 days" carry an icon and words in their status ink; color is never the only cue (canonical §2.3).
  • Dialogs. "Report this job" is a modal: named and described, focus on its first field, Escape and the scrim close it, focus returns to "Report" (D-CSN-21).
  • Links that leave. The organization's website carries north_east and a visually hidden "(opens in a new tab)" when it opens one (D-CAI-08).

RTL and languages

  • The aside sits at the inline end (the left in Arabic), the content at the inline start; the sticky bar's summary at the inline start and the button at the inline end (D-BCP-30).
  • arrow_back turns in the back link; location_on, schedule, and the meta icons never do (D-BCP-33).
  • Pay comes from Intl with formatRange: "US$1,200–1,800" in English, "1,200–1,800 US$" in Arabic, "1 200–1 800 $US" in French; dates in en-GB, ar-u-nu-latn, and fr (D-BCP-19).
  • Fictional and product names inside Arabic text sit in <bdi>; a summary line in the sticky bar truncates only the item's title, never the button (D-BCP-03, D-CSN-50).

Do and don't

Do Don't
One "Apply now": in the aside from 1024px, in the sticky bar below Two filled "Apply now" buttons on the same phone screen
The sticky bar as glass with a top hairline A shadow above the bar (Jobs today, JB-2.15)
calc(0.75rem + env(safe-area-inset-bottom)) under the bar max(0.75rem, env(safe-area-inset-bottom))
"Back to results" with a mirrored arrow_back A forward arrow on a back link, or a 44px back link (JB-2.28)
Trust links next to the action Safety advice only in the footer
Label demo data in a banner and in names " (Demo)" Present sample listings as real
Section titles in text-title-lg Content h2s at headline sizes
"US$1,200–1,800 per month" "$1,200 – 1,800 per month" (JB-2.20)

Best current example

Global Jobs, a job's detail page (/en/jobs/frontend-developer-react-6askrmtr), at 1440px and 390px (screenshots of the page, the phone apply bar, and the "Save this job" and "Report this job" dialogs; see the Jobs audit):

  • "All jobs" with a back arrow, the demo notice "Demo data: this listing is sample content for testing the platform.", the h1 "Frontend Developer (React)", "Byblos Digital Studio (Demo)" with "Verified employer", a row of facts with icons and "Closes in 4 days" in the warning ink.
  • A 320px apply card at the inline end: "Apply now", "Free account · takes about a minute", "2 short questions from the employer", "Save job" and "Share", and "Never pay to apply" · "Report".
  • "About the role", "Requirements", "Benefits", skill chips, and an "About the company" card; on phones a bottom bar holds the title, the organization, and "Apply now".

What it still has to change: the bar's blur and shadow → the glass recipe with a hairline and calc() safe-area padding (JB-2.15); the demo notice → a neutral banner (JB-2.23); the page title and content headings on the type scale (JB-2.18); dialogs on surface-raised, as a bottom sheet below 768px (JB-2.12); "Link copied" in the family snackbar instead of Sonner (JB-1.03); pay with the currency code (JB-2.20); "&" → "and" and "organisation" → "organization" (JB-2.25); breadcrumb targets 44 → 48px (JB-2.28). Its back link reads "All jobs"; the family form is "Back to {place}".

Reference template

reference/templates/detail.html builds the job detail with the back link, the title block, the sticky aside with "Apply now", the content sections, and the sticky action bar on phones. It passes the audit gate in light, dark, RTL, and dark RTL at 390px and 1440px.