Skip to content
OAIT Design System

Design system / Components

Steps row

A numbered row of three or four bare steps on a marketing page, each a primary disc with an icon, a numeral, a title, and a sentence, joined by a connector: "how it works".

When to use

  • To explain a short sequence on a marketing page: how to get started, how a service runs, how a person goes from registration or an invitation to use ("Register or use your invitation", "Create your password", "Show your ID wherever you go", R-80) (D-CSN-19, canonical §10.18).
  • When the order matters and there are three or four steps. On the page, or inside a tonal panel to set it apart from the cards around it.

When not to use

Situation Use instead
A task the person is doing now, step by step The in-app stepper: "Step 2 of 4", the step heading, and a segmented bar
Items with no order Feature cards in a grid
Two steps, or five and more Two: a sentence or two feature cards; five and more: a numbered list in the page text, or split the journey
Steps with actions on each A list of cards or a page per step; the steps row holds no controls
A timeline of past events A list of dated rows

Anatomy

  1. List: <ol class="oa-steps" role="list">, three or four items; the list numbers them for assistive technology.
  2. Step (.oa-steps__step): one <li>.
  3. Disc (.oa-steps__disc): a 56px primary circle with a 28px on-primary icon, no shadow, aria-hidden.
  4. Numeral (.oa-steps__num): "01", "02"… in label-md with tabular figures, primary-ink, aria-hidden.
  5. Title (.oa-steps__title): a heading one level under the section's (h3), title-lg.
  6. Body (.oa-steps__body): one or two sentences in body-lg, on-surface-variant, at most 36ch.
  7. Connector: a 2px outline-variant line from each disc to the next, drawn by the step's ::before (decorative).

Variants

Variant Use for Key tokens
Four steps A process with four phases (oait's "Four steps. No guesswork.") four columns from 1024px
Three steps Most journeys (Global ID, Global Jobs, Global Games, Tamakkan) three columns from 1024px
On the page The default page --color-surface
In a tonal panel Setting the steps apart from cards around them (Global ID's "How it works") .oa-panel (--color-surface-container-low, feature padding)

Sizes

Size Height Padding Type style Icon size
One size the content's none; steps are 32px apart (gap-8) numeral label-md (14/20 600) with tabular-nums; title title-lg (20/28 600); body body-lg (16/24) disc 56px (--size-tile-lg) with a 28px icon (--size-icon-xl)
Part Below 1024px From 1024px
Layout stacked, 32px apart; each step a two-column grid: the 56px disc column, 16px, the text three or four equal columns, 32px apart
Numeral at the top of the text column, beside the disc 16px under the disc
Title 4px under the numeral 4px under the numeral
Body 8px under the title, at most 36ch the same
Connector 2px wide, down the disc column's center (27px from the inline start), from 8px under one disc to 8px above the next 2px tall, across at the discs' center (27px from the top), from 16px after one disc to 16px before the next

(canonical §10.18, D-CSN-19, D-ARC-20)

Tokens

Part Property Token
Row gap --space-8 (32px)
Step disc column, gap --size-tile-lg (56px), --space-4 (16px)
Disc fill, icon --color-primary, --color-on-primary (6.19:1)
Disc size, corner --size-tile-lg, --radius-full; a transparent 1px border for forced colors
Icon size --size-icon-xl (28px, .oa-icon--xl)
Numeral type, color --text-label-md, tabular figures, --color-primary-ink
Numeral to title, title to body space --space-1 (4px), --space-2 (8px)
Disc to numeral (from 1024px) space --space-4 (16px)
Title type --text-title-lg
Body type, color, width --text-body-lg, --color-on-surface-variant, 36ch
Connector color, size, corner --color-outline-variant, 2px (component constant), --radius-full

States

The steps row is static: no hover, focus, selection, or disabled state. Nothing in it is interactive, and nothing moves (no line that draws itself, no reveal).

Behavior

  • Below 1024px the steps stack with their discs at the inline start, joined by the vertical connector; from 1024px they sit side by side, joined across.
  • The column count follows the number of steps (three or four), so four steps get four columns and three get three.
  • The connector is drawn between steps only: the last step has none.
  • Under the section header, 48px below (mt-section-head); in a tonal panel the panel's padding surrounds it.

Accessibility

  • Element. An <ol> with role="list": assistive technology announces "list, 4 items" and each position. The role keeps the list in Safari, which drops list semantics once list-style: none removes the markers; without it the step numbers would be lost, because the drawn numerals and the discs are aria-hidden="true" so that the number is not read twice (canonical §10.18).
  • Headings. Step titles are headings one level under the section's h2, so people can jump between them.
  • Contrast. The disc's icon on-primary on primary (6.19:1); the numeral primary-ink (5.45:1 or more); the title on-surface; the body on-surface-variant (7.2:1 or more light, 5.4:1 or more dark). The connector is decoration.
  • Forced colors. The disc keeps a transparent border, so it is drawn as a circle outline; the connector may disappear, which loses nothing.

RTL and languages

  • The disc column and the connectors follow the inline start: in Arabic the discs sit on the right and the row reads from the right, step 01 first (canonical §14.2: step connectors mirror).
  • Numerals stay Western digits and never mirror; the icons in the discs are not directional.
  • Arabic titles keep title-lg at line height 1.6 and bodies body-lg at 1.75; French bodies run longer, so keep them to one or two sentences.

Content

  • Titles: short, no full stop, and either verb-first or a plain noun: "Discover", "Design and govern", "Pilot and build", "Measure and scale" (oait); "Register or use your invitation", "Create your password", "Show your ID wherever you go" (Global ID); "Find something that fits", "Put your best self forward", "Keep your next steps together" (Global Jobs).
  • Bodies: one or two sentences that say what happens: "Guests can register here. If the ID office invited you, use the one-time link in your email." (Global ID), "We listen first: your goals, your people, your data, and your constraints." (oait).
  • Numerals: two digits, "01" to "04".
  • Icons: one plain glyph per step that matches its verb: search, architecture, rocket_launch, monitoring (oait); mail, fingerprint (the passkey that step 02 adds), badge (Global ID).
  • Arabic (Global ID): "سجّل أو استخدم دعوتك" (native review) · "أنشئ كلمة المرور" (native review) · "أظهر هويتك أينما ذهبت". (oait): "الاستكشاف" · "التصميم والحوكمة" · "التجربة والبناء" · "القياس والتوسّع".
  • French (Global ID): "Inscrivez-vous ou utilisez votre invitation" (native review) · "Créez votre mot de passe" (native review) · "Montrez votre ID partout".

Do and don't

Do Don't
Bare steps on the page or in a tonal panel Steps drawn as cards (oait today)
A 56px primary disc with an icon, the numeral as its own line A number badge on the disc (Global ID today), or a disc with a shadow
A 2px outline-variant connector A gradient line, or "01 →" arrows between steps
Three or four steps Two, or eight in a row
Step titles as headings, the numerals hidden Numerals that screen readers read a second time

Code

HTML (reference CSS)

Four steps (oait):

<ol class="oa-steps" role="list">
  <li class="oa-steps__step">
    <span class="oa-steps__disc" aria-hidden="true"><span class="oa-icon oa-icon--xl" translate="no">search</span></span>
    <span class="oa-steps__num" aria-hidden="true">01</span>
    <h3 class="oa-steps__title">Discover</h3>
    <p class="oa-steps__body">We listen first: your goals, your people, your data, and your constraints.</p>
  </li>
  <li class="oa-steps__step">
    <span class="oa-steps__disc" aria-hidden="true"><span class="oa-icon oa-icon--xl" translate="no">architecture</span></span>
    <span class="oa-steps__num" aria-hidden="true">02</span>
    <h3 class="oa-steps__title">Design and govern</h3>
    <p class="oa-steps__body">A practical roadmap with privacy, integrity, and human review built in.</p>
  </li>
  <li class="oa-steps__step">
    <span class="oa-steps__disc" aria-hidden="true"><span class="oa-icon oa-icon--xl" translate="no">rocket_launch</span></span>
    <span class="oa-steps__num" aria-hidden="true">03</span>
    <h3 class="oa-steps__title">Pilot and build</h3>
    <p class="oa-steps__body">We train your teams and ship working tools, starting small.</p>
  </li>
  <li class="oa-steps__step">
    <span class="oa-steps__disc" aria-hidden="true"><span class="oa-icon oa-icon--xl" translate="no">monitoring</span></span>
    <span class="oa-steps__num" aria-hidden="true">04</span>
    <h3 class="oa-steps__title">Measure and scale</h3>
    <p class="oa-steps__body">Keep what works, improve what doesn’t, then grow it.</p>
  </li>
</ol>

Three steps in Arabic (Global ID; steps 01 and 02 native review), in a page with <html lang="ar" dir="rtl">:

<ol class="oa-steps" role="list">
  <li class="oa-steps__step">
    <span class="oa-steps__disc" aria-hidden="true"><span class="oa-icon oa-icon--xl" translate="no">mail</span></span>
    <span class="oa-steps__num" aria-hidden="true">01</span>
    <h3 class="oa-steps__title">سجّل أو استخدم دعوتك</h3>
    <p class="oa-steps__body">يمكن للضيوف التسجيل هنا. إذا دعاك مكتب الهوية، فاستخدم الرابط المرسل إلى بريدك الإلكتروني والذي يُستخدم مرة واحدة.</p>
  </li>
  <li class="oa-steps__step">
    <span class="oa-steps__disc" aria-hidden="true"><span class="oa-icon oa-icon--xl" translate="no">fingerprint</span></span>
    <span class="oa-steps__num" aria-hidden="true">02</span>
    <h3 class="oa-steps__title">أنشئ كلمة المرور</h3>
    <p class="oa-steps__body">اختر كلمة مرور وأكّدها. ثم أضف مفتاح مرور الآن أو خلال سبعة أيام.</p>
  </li>
  <li class="oa-steps__step">
    <span class="oa-steps__disc" aria-hidden="true"><span class="oa-icon oa-icon--xl" translate="no">badge</span></span>
    <span class="oa-steps__num" aria-hidden="true">03</span>
    <h3 class="oa-steps__title">أظهر هويتك أينما ذهبت</h3>
    <p class="oa-steps__body">عند البوابات والمكتبة والامتحانات، على هاتفك أو على بطاقتك المطبوعة.</p>
  </li>
</ol>

Every variant is in reference/snippets/marketing.html; the CSS is reference/css/marketing.css. To set the row in a tonal panel, wrap the section header and the list in <section class="oa-panel">.

Tailwind CSS v4

<ol role="list" className="grid gap-8 lg:grid-flow-col lg:auto-cols-fr">
  {steps.map((step, index) => (
    <li
      key={step.key}
      className="relative grid grid-cols-[3.5rem_minmax(0,1fr)] items-start gap-x-4 lg:grid-cols-1 before:absolute before:start-[27px] before:top-16 before:-bottom-6 before:w-0.5 before:rounded-full before:bg-outline-variant before:content-[''] last:before:hidden lg:before:start-[4.5rem] lg:before:-end-4 lg:before:top-[27px] lg:before:bottom-auto lg:before:h-0.5 lg:before:w-auto"
    >
      <span aria-hidden="true" className="row-span-3 flex size-14 items-center justify-center rounded-full border border-transparent bg-primary text-on-primary lg:row-span-1">
        <Icon name={step.icon} size={28} />
      </span>
      <span aria-hidden="true" className="col-start-2 text-label-md text-primary-ink tabular-nums lg:col-start-1 lg:mt-4">
        {String(index + 1).padStart(2, "0")}
      </span>
      <h3 className="col-start-2 mt-1 text-title-lg text-balance lg:col-start-1">{step.title}</h3>
      <p className="col-start-2 mt-2 max-w-[36ch] text-body-lg text-pretty text-on-surface-variant lg:col-start-1">{step.body}</p>
    </li>
  ))}
</ol>

before:-bottom-6 ends the vertical connector 8px above the next disc (the steps are 32px apart); lg:before:-end-4 ends the horizontal one 16px before it.

React

Prop Type Default Description
steps { key: string; icon: string; title: string; body: string }[] — Three or four steps, in order.
headingLevel 3 | 4 3 One level under the section's heading.
const STEPS = [
  { key: "invited", icon: "mail" },
  { key: "setUp", icon: "fingerprint" },
  { key: "show", icon: "badge" },
] as const

<StepsRow
  steps={STEPS.map(({ key, icon }) => ({
    key,
    icon,
    title: t(`landing.how.${key}.title`),
    body: t(`landing.how.${key}.body`),
  }))}
/>