Skip to content
OAIT Design System

Design system / Components

Feature card

An outlined card that presents one service, feature, or reason on a marketing page: a pastel icon tile, a title, one or two sentences, and an optional link.

When to use

  • In a marketing section's card grid: services (oait's six services), what a product does today (Global ID's "Live now"), trust reasons (Global Jobs' "Opportunity starts with trust."), a product's assessments (Tamakkan) (D-CSN-05, canonical §11 row 1).
  • When each item needs a short title and a sentence, and the items are peers in a grid of 3, 4, or 6.

When not to use

Situation Use instead
A card that opens a record (a job, a company, a booth) The card with a stretched title link, or a product card such as the job card
A number A stat tile
A sequence (first, then, then) The steps row
Short reassurances under the hero The trust strip
Principles inside the dark band The principle items of the CTA band
Something not built yet The dashed placeholder card with a "Coming soon" chip (Card), never a feature card with a link (D-BCP-23)
An app's quick actions on Home The tiles of App home

Anatomy

  1. Container: an outlined card, .oa-card.oa-feature-card (card-outlined-container, 1px outline-variant, rounded-card, 20 → 24px padding) (Card).
  2. Icon tile: .oa-tile.oa-tile--lg with a hue modifier: 56px, rounded-box, a 28px icon at FILL 1 in the tile's on-color, aria-hidden (Card).
  3. Title: .oa-card__title, a heading (h3 under the section's h2) in title-md.
  4. Body: .oa-card__body, one or two sentences in body-lg, on-surface-variant.
  5. Meta (optional): .oa-card__meta, who it is for, in body-md ("For faculty, staff, and professionals").
  6. Link (optional): a standalone link at the foot of the card.

Variants

Variant Use for Key tokens
Peach tile 1st, 5th, 9th card --color-pastel-peach, --color-on-pastel-peach
Lavender tile 2nd, 6th card --color-pastel-lavender, --color-on-pastel-lavender
Mint tile 3rd, 7th card --color-pastel-mint, --color-on-pastel-mint
Sand tile 4th, 8th card --color-pastel-sand, --color-on-pastel-sand
With meta and link Services and offers that lead somewhere .oa-card__meta, .oa-link--standalone
Text only Features and reasons with nowhere to go title and body

The hues cycle peach → lavender → mint → sand → peach in reading order, so no two neighbors match in the grid's one, two, or three columns (canonical §10.10, §2.11, D-CSN-05). The hue is decoration: it never encodes a category or a status.

Sizes

Size Height Padding Type style Icon size
One size the content's; cards in a grid row stretch to the tallest 20px, 24px from 640px (p-card sm:p-card-medium) title title-md (18/24 700); body body-lg (16/24); meta body-md (14/20); link at the body's 16px, weight 600 tile 56px (--size-tile-lg) with a 28px icon (--size-icon-xl); link arrow 20px

Spacing inside the card: tile → 16px (20px from 640px) → title → 8px → body → 16px → meta → 16px at least → link, pushed to the card's foot so links line up across a row (D-CSN-05, D-ARC-25).

Tokens

Part Property Token
Card background, edge, corner --color-card-outlined-container, --color-outline-variant, --radius-card
Card padding --space-card, from 640px --space-card-medium
Card block gap --space-stack (16px); title to body --space-stack-tight (8px)
Tile size, corner --size-tile-lg (56px), --radius-box (16px)
Tile fill, icon --color-pastel-*, --color-on-pastel-*
Icon size, fill --size-icon-xl (28px), FILL 1 (.oa-icon--filled)
Title type, color --text-title-md, --color-on-surface
Body type, color --text-body-lg, --color-on-surface-variant
Meta type, color --text-body-md, --color-on-surface-variant
Link color --color-primary-ink
Grid columns, gap 1 → 2 (640px) → 3 (1024px) columns, --space-grid (16px) (.oa-grid, base.css)

States

State What changes
Enabled The card is static; only its link is interactive
Link hover The link's underline thickens to 2px; nothing else moves
Link focus-visible The family ring around the link (a pill for standalone links)
Whole card as a link When a card has one destination and no other control, give its title a stretched link: the card hovers with shadow-elevation-3 and an outline edge and shows the 12% layer when pressed; the ring takes the card's corner (Card, D-CSN-04)
Disabled, error, loading Not applicable. Something not available yet is a dashed "Coming soon" card instead

Behavior

  • One column below 640px, two from 640px, three from 1024px (.oa-grid, D-LAY-07). Six cards make two rows of three; four cards make 3 + 1, so prefer 3 or 6.
  • The card's content stays in one column at every width: the tile above the title, never beside it (D-CSN-05).
  • Cards in a row share the tallest height; the link sits at the foot.
  • No motion: no hover lift, no tilt, no entrance.

Accessibility

  • Element. A list of cards: <ul class="oa-grid" role="list"> with one <li class="oa-card oa-feature-card"> per card; role="list" keeps the list semantics where the bullets are removed. The title is a heading one level under the section's h2.
  • Tile. Decorative: aria-hidden="true"; the title carries the meaning.
  • Link name. Repeated link text gets the card's title as hidden text, so every link has a distinct name that starts with its visible words: "Ask about this: AI Academy" (canonical §12.5).
  • Targets. Standalone links are 48px tall.
  • Contrast. Title on-surface; body and meta on-surface-variant on card-outlined-container (7.2:1 or more light, 5.4:1 or more dark); the link primary-ink (5.45:1 or more); icons in their pastel's on-color (13:1 light, 7:1 or more dark).

RTL and languages

  • The tile, title, and text start at the inline start, so in Arabic they sit on the right; the link's arrow_forward turns.
  • Arabic titles and bodies keep their sizes at line height 1.75; product names inside Arabic copy sit in <bdi lang="en" translate="no">.
  • French titles run up to 32% longer (about 26% for running text, D-TYP-15): titles wrap, never truncate; check the 3-column grid at 1024px.

Content

  • Title: a short noun phrase or a plain statement without a full stop: "AI Academy", "A digital ID card", "Never pay to apply", "A pass a screenshot can’t copy". Proper names keep their capitals and their ampersand ("AI Software & Web Apps"); everything else writes "and" (D-BCP-17).
  • Body: one or two sentences that say what the person gets: "Webinars, hands-on workshops, and the Applied AI Professional Diploma.", "Its QR code changes every 30 seconds and works offline, so a screenshot is no use to anyone else." (Global ID).
  • Meta: who it is for, starting with "For": "For faculty, staff, and professionals" (canonical §12.5: product cards say who can use them).
  • Link: names the next step, with the card's title as hidden text when the words repeat: "Ask about this" (oait). Never "Learn more".
  • Arabic (Global ID): "بطاقة هوية رقمية" · "بطاقتك الجامعية الرسمية على هاتفك، بالإنجليزية والعربية." (oait): "أكاديمية الذكاء الاصطناعي" · "ندوات عبر الإنترنت، وورش عمل تطبيقية، والدبلوم المهني في الذكاء الاصطناعي التطبيقي."
  • French (Global ID): "Une carte d’identité numérique" · "Votre carte universitaire officielle sur votre téléphone, en anglais et en arabe."

Do and don't

Do Don't
Cycle the tiles peach, lavender, mint, sand in reading order Give two neighbors the same hue, or use the hue to mean a category
A 56px tile with a 28px filled icon in its on-color A bare icon, an 18px-corner tile, or a 30px icon (Global ID today)
The tile above the title at every width The tile beside the text on phones
One link at the foot, named for its destination Two links, or "Learn more"
Outlined cards on the page or a white surface Filled cards inside a tonal panel, where they disappear

Code

HTML (reference CSS)

One card (oait):

<li class="oa-card oa-feature-card">
  <span class="oa-tile oa-tile--lg oa-tile--peach" aria-hidden="true"><span class="oa-icon oa-icon--filled" translate="no">school</span></span>
  <h3 class="oa-card__title">AI Academy</h3>
  <p class="oa-card__body">Webinars, hands-on workshops, and the Applied AI Professional Diploma.</p>
  <p class="oa-card__meta"><strong>For</strong> faculty, staff, and professionals</p>
  <a class="oa-link oa-link--standalone" href="#contact"><span class="oa-link__label">Ask about this</span><span class="oa-visually-hidden">: AI Academy</span><span class="oa-icon oa-icon--md oa-icon--mirror oa-link__icon" aria-hidden="true" translate="no">arrow_forward</span></a>
</li>

The grid, as in the snippet (six oait services, the hues cycling):

<ul class="oa-grid" role="list">
  <li class="oa-card oa-feature-card">
    <span class="oa-tile oa-tile--lg oa-tile--peach" aria-hidden="true"><span class="oa-icon oa-icon--filled" translate="no">school</span></span>
    <h3 class="oa-card__title">AI Academy</h3>
    <p class="oa-card__body">Webinars, hands-on workshops, and the Applied AI Professional Diploma.</p>
    <p class="oa-card__meta"><strong>For</strong> faculty, staff, and professionals</p>
    <a class="oa-link oa-link--standalone" href="#contact"><span class="oa-link__label">Ask about this</span><span class="oa-visually-hidden">: AI Academy</span><span class="oa-icon oa-icon--md oa-icon--mirror oa-link__icon" aria-hidden="true" translate="no">arrow_forward</span></a>
  </li>
  <li class="oa-card oa-feature-card">
    <span class="oa-tile oa-tile--lg oa-tile--lavender" aria-hidden="true"><span class="oa-icon oa-icon--filled" translate="no">groups</span></span>
    <h3 class="oa-card__title">Corporate AI Training</h3>
    <p class="oa-card__body">Team sessions that turn AI tools into everyday habits at work.</p>
    <p class="oa-card__meta"><strong>For</strong> teams and departments</p>
    <a class="oa-link oa-link--standalone" href="#contact"><span class="oa-link__label">Ask about this</span><span class="oa-visually-hidden">: Corporate AI Training</span><span class="oa-icon oa-icon--md oa-icon--mirror oa-link__icon" aria-hidden="true" translate="no">arrow_forward</span></a>
  </li>
  <li class="oa-card oa-feature-card">
    <span class="oa-tile oa-tile--lg oa-tile--mint" aria-hidden="true"><span class="oa-icon oa-icon--filled" translate="no">code_blocks</span></span>
    <h3 class="oa-card__title">AI Software &amp; Web Apps</h3>
    <p class="oa-card__body">Custom AI tools and web apps, designed, built, and supported end to end.</p>
    <p class="oa-card__meta"><strong>For</strong> institutions and businesses</p>
    <a class="oa-link oa-link--standalone" href="#contact"><span class="oa-link__label">Ask about this</span><span class="oa-visually-hidden">: AI Software &amp; Web Apps</span><span class="oa-icon oa-icon--md oa-icon--mirror oa-link__icon" aria-hidden="true" translate="no">arrow_forward</span></a>
  </li>
  <li class="oa-card oa-feature-card">
    <span class="oa-tile oa-tile--lg oa-tile--sand" aria-hidden="true"><span class="oa-icon oa-icon--filled" translate="no">auto_awesome</span></span>
    <h3 class="oa-card__title">AI Content Generation</h3>
    <p class="oa-card__body">Video, design, and marketing content, produced faster with AI.</p>
    <p class="oa-card__meta"><strong>For</strong> marketing and communications teams</p>
    <a class="oa-link oa-link--standalone" href="#contact"><span class="oa-link__label">Ask about this</span><span class="oa-visually-hidden">: AI Content Generation</span><span class="oa-icon oa-icon--md oa-icon--mirror oa-link__icon" aria-hidden="true" translate="no">arrow_forward</span></a>
  </li>
  <li class="oa-card oa-feature-card">
    <span class="oa-tile oa-tile--lg oa-tile--peach" aria-hidden="true"><span class="oa-icon oa-icon--filled" translate="no">campaign</span></span>
    <h3 class="oa-card__title">AI Social Media &amp; Advertising</h3>
    <p class="oa-card__body">Planning, content, analytics, and ads, powered by AI.</p>
    <p class="oa-card__meta"><strong>For</strong> brands and programs</p>
    <a class="oa-link oa-link--standalone" href="#contact"><span class="oa-link__label">Ask about this</span><span class="oa-visually-hidden">: AI Social Media &amp; Advertising</span><span class="oa-icon oa-icon--md oa-icon--mirror oa-link__icon" aria-hidden="true" translate="no">arrow_forward</span></a>
  </li>
  <li class="oa-card oa-feature-card">
    <span class="oa-tile oa-tile--lg oa-tile--lavender" aria-hidden="true"><span class="oa-icon oa-icon--filled" translate="no">explore</span></span>
    <h3 class="oa-card__title">AI Consultation</h3>
    <p class="oa-card__body">Where to start, which tools to choose, and how to adopt AI safely.</p>
    <p class="oa-card__meta"><strong>For</strong> leaders and decision-makers</p>
    <a class="oa-link oa-link--standalone" href="#contact"><span class="oa-link__label">Ask about this</span><span class="oa-visually-hidden">: AI Consultation</span><span class="oa-icon oa-icon--md oa-icon--mirror oa-link__icon" aria-hidden="true" translate="no">arrow_forward</span></a>
  </li>
</ul>

Arabic (Global ID), a card without meta or link:

<li class="oa-card oa-feature-card">
  <span class="oa-tile oa-tile--lg oa-tile--peach" aria-hidden="true"><span class="oa-icon oa-icon--filled" translate="no">badge</span></span>
  <h3 class="oa-card__title">بطاقة هوية رقمية</h3>
  <p class="oa-card__body">بطاقتك الجامعية الرسمية على هاتفك، بالإنجليزية والعربية.</p>
</li>

Every variant is in reference/snippets/marketing.html. The card and the tile are card.css; marketing.css adds only the feature card's column (.oa-feature-card); base.css drops the bullets and indent of ul.oa-grid.

Tailwind CSS v4

<ul role="list" className="grid gap-grid sm:grid-cols-2 lg:grid-cols-3">
  <li className="flex flex-col items-start gap-4 rounded-card border border-outline-variant bg-card-outlined-container p-card text-on-surface sm:p-card-medium">
    <span aria-hidden="true" className="inline-flex size-14 shrink-0 items-center justify-center rounded-box bg-pastel-peach text-on-pastel-peach sm:mb-1">
      <Icon name="school" size={28} filled />
    </span>
    <h3 className="text-title-md text-balance">AI Academy</h3>
    <p className="-mt-2 text-body-lg text-pretty text-on-surface-variant">
      Webinars, hands-on workshops, and the Applied AI Professional Diploma.
    </p>
    <p className="text-body-md text-on-surface-variant">
      <strong className="text-on-surface">For</strong> faculty, staff, and professionals
    </p>
    <a href="#contact" className="mt-auto inline-flex min-h-12 items-center gap-2 rounded-full font-semibold text-primary-ink">
      <span className="underline underline-offset-4 hover:decoration-2">Ask about this</span>
      <span className="sr-only">: AI Academy</span>
      <Icon name="arrow_forward" size={20} mirror />
    </a>
  </li>
</ul>

The next cards take bg-pastel-lavender text-on-pastel-lavender, bg-pastel-mint text-on-pastel-mint, and bg-pastel-sand text-on-pastel-sand, then start again.

React

Prop Type Default Description
icon string — The Material Symbols name, drawn at 28px with FILL 1.
hue "peach" | "lavender" | "mint" | "sand" from the index The tile's pastel. FeatureGrid sets it from the card's position.
title string — The card's heading.
headingLevel 2 | 3 | 4 3 One level under the section's heading.
body ReactNode — One or two sentences.
meta ReactNode — Who it is for ("For faculty, staff, and professionals").
link { label: string; href: string; hiddenContext?: string } — The foot link; hiddenContext defaults to the title.
const SERVICES = [
  { key: "academy", icon: "school" },
  { key: "training", icon: "groups" },
  { key: "software", icon: "code_blocks" },
] as const

<FeatureGrid>
  {SERVICES.map(({ key, icon }) => (
    <FeatureCard
      key={key}
      icon={icon}
      title={t(`services.${key}.title`)}
      body={t(`services.${key}.body`)}
      meta={t(`services.${key}.for`)}
      link={{ label: t("services.ask"), href: "#contact" }}
    />
  ))}
</FeatureGrid>