Skip to content
OAIT Design System

Design system / Components

Result card

Tamakkan's assessment results: a ranked summary of a person's strongest themes, and the HBDI result with its four lettered quadrants and recommended majors. Product component (Tamakkan).

When to use

  • Tamakkan's results pages: the summary of a finished assessment (interest themes, top majors) and the HBDI result (/hbdi).
  • The dashboard, where the latest result is summarized under the person's greeting (the app home pattern).
  • A downloadable or shared result, which prints the same cards.

When not to use

Situation Use instead
A score or KPI on its own The stat tile.
Rankings in a game Global Games' rank rows.
A list of majors or courses to browse Cards with title links.
Any chart outside the HBDI result The family data-visualization rules: series in chart-1 … chart-8 order on surface, surface-container-lowest, or card-outlined-container (canonical §2.11).
A product without data-product="tamakkan" The same cards work under the family orange; the HBDI palette is Tamakkan's data slot (D-CSN-42).
The profile card in the landing's collage Tamakkan's illustration slot, the collage (canonical §9, D-BCP-39): art with shadow-art on its drop (D-SEM-09), not a result card.

Anatomy

Result summary (.oa-result-card, a <section> labeled by its title):

  1. Card: a filled card (surface-container-low), 24px corners, padding 20px, 24px from 640px.
  2. Title (__title, title-md): "Your strongest interest themes".
  3. List (__list, an <ol>) of rows (__row): the 32px rank disc (__rank, primary-container / on-primary-container, label-md tabular); the content (__content): the theme's name (__name, title-sm) and its line (__desc, body-md, on-surface-variant); the score at the inline end (__score, numeral-md tabular, primary-ink).

HBDI result (.oa-hbdi, a <section>):

  1. Eyebrow and title: "HBDI synthesis" (.oa-eyebrow), "Your HBDI insights" (__title, title-lg).
  2. Dominant style (__badge): a flat primary block with on-primary text (title-md), 12px corners, no gradient: "Dominant style: Analytical".
  3. Layout (__layout): one column, two from 1024px: the radar and the score cards.
  4. Radar (__radar, a <figure>): on card-outlined-container with an --color-outline-variant edge and 24px corners; the SVG at 340px at most: rings and axes in --color-outline-variant, the shape in on-surface-variant (2px), one point per quadrant in its chart hue, the letters A–D at the axes (title-sm).
  5. Score cards (__scores, one column, two from 640px; each __score with data-quadrant): an outlined compact card, 72px or more; the 40px key tile (__key, 12px corners) in the quadrant's fill with its letter in the fill's on-color; the quadrant's name (__name, title-sm) and its plain line (__sub, body-sm, sentence case); the score at the inline end (__value, numeral-md tabular).
  6. Recommended majors (__subtitle, title-md; __majors: one, two, then three columns): each major (__major, data-quadrant) is an outlined card with a 4px edge on its inline start in the quadrant's chart hue; the major's name (__major-name, title-sm), the quadrant chip (__chip, the fill and its on-color, label-sm), the reasoning (__reason, body-md).

Variants

Variant Use for Key tokens
Result summary Ranked themes or majors with scores --color-surface-container-low; disc --color-primary-container / --color-on-primary-container; score --color-primary-ink
Quadrant A, Analytical data-quadrant="a" fill --color-pastel-lavender, ink --color-on-pastel-lavender, mark --color-chart-2
Quadrant B, Sequential data-quadrant="b" --color-pastel-mint, --color-on-pastel-mint, --color-chart-3
Quadrant C, Interpersonal data-quadrant="c" --color-cat-burgundy-container, --color-on-cat-burgundy-container, --color-chart-6
Quadrant D, Holistic data-quadrant="d" --color-pastel-sand, --color-on-pastel-sand, --color-chart-5
Dominant style The one quadrant (or pair) that leads --color-primary, --color-on-primary, --radius-12px

The fills carry the letters; the chart hues are only marks on the card surface (the radar's points and the majors' edges), never marks on the fills: chart-3 is 2.88:1 on pastel-mint and chart-6 1.77:1 on the dark burgundy container (V-3).

Sizes

Part Height Padding Type style Icon size
Summary card content 20px, 24px from 640px title title-md —
Summary row content 16px between rows name title-sm; line body-md; score numeral-md rank disc 32px (--size-chip-sm)
Dominant style content 12px 20px title-md —
Radar content 20px, 24px from 640px axes title-sm the SVG 340px at most
Score card 72px or more (--size-list-row-two-line) 12px 16px name title-sm; line body-sm; score numeral-md; letter title-md key tile 40px (--size-tile-sm)
Major card content 20px, 24px from 640px name title-sm; chip label-sm (24px high); reasons body-md the 4px inline-start edge

Tokens

Part Property Token
Summary card fill, corners --color-surface-container-low, --radius-card
Rank disc fill, text --color-primary-container, --color-on-primary-container, --radius-full
Score text --color-primary-ink; --text-numeral-md with tabular figures (C-9)
Dominant style fill, text, corners --color-primary, --color-on-primary, --radius-12px
Radar, score, and major cards fill, edge, corners --color-card-outlined-container, 1px --color-outline-variant, --radius-card
Radar rings, shape, letters --color-outline-variant, --color-on-surface-variant (2px), --color-on-surface
Quadrants fill, ink, mark --oa-hbdi-fill, --oa-hbdi-ink, --oa-hbdi-mark, set by data-quadrant
Key tile corners --radius-12px
Quadrant chip corners --radius-chip
Major card edge 4px --oa-hbdi-mark on the inline start

Under data-product="tamakkan" on <html>: primary #7c3aed, primary-container #f1ebfd (dark #2d2249), on-primary-container #4c1d95 (dark #cdb9fd), primary-ink #6d28d9 (dark #d2bbff) (canonical §15).

States

State What changes
Enabled The cards are content: no hover, focus, or pressed state of their own.
More than one lead Every quadrant within 90% of the top score leads; the badge names them all, in A–D order, and the majors follow those quadrants.
Not finished No badge and no majors; the summary line reads "Complete the assessment to unlock your personalized summary." (Tamakkan shows "Dominant style: Balanced" today when every score is 0: drop the badge instead).
Loading Skeleton blocks in the cards' shapes while the result is computed.
Error The page's banner; the cards are not drawn half-empty.
Disabled None.

Behavior

  • Order. Summary rows are in rank order; the rank disc repeats the order as a number. The four quadrant cards keep A, B, C, D order whatever the scores.
  • The radar is a chart. It follows the data-visualization rules, and every value it shows is also a number in the score cards (V-3, D-COL-19).
  • Responsive. One column on phones; the radar and the score cards side by side from 1024px; majors in two columns from 640px and three from 1024px.
  • Actions. "Download results" sits after the majors, as the page's one filled button.
  • Motion. None; results appear in their end state.

Accessibility

  • Elements. Each card is a <section> labeled by its title; summary rows and majors are lists; the quadrant cards are a list of four.
  • The radar. An SVG with role="img" and a name that gives the four scores ("Your four scores on a radar: A Analytical 31, B Sequential 24, C Interpersonal 27, D Holistic 18"); the score cards repeat them as text.
  • Not by color alone. Every quadrant is lettered (A–D) and named, in the key tile, the radar, and the chip; the major's edge is extra (D-CSN-47).
  • Contrast. Each quadrant's letter sits in its fill's on-color: 12.38:1 or more in light and 7.22:1 or more in dark. The chart hues as marks on card-outlined-container are 3.49:1 or more (chart-6 in dark is the lowest). The score's primary-ink on surface-container-low is 6.40:1 (light, violet) and 10.02:1 (dark); the badge's on-primary on violet primary is 5.70:1 (contrast report).
  • Headings. The page's h1 comes first; the results take h2 (or h3 inside a section), the majors' heading the next level, each major the level under it.
  • Keyboard. Nothing in the cards is focusable; links and the download button follow them.

RTL and languages

  • The cards mirror: the rank disc and key tiles at the inline start, the scores at the inline end, the major's edge on the right (its border-inline-start).
  • Codes and numbers stay left to right: "(I)" in <bdi dir="ltr">; the radar's axes do not move in Arabic, so A stays at the top.
  • Arabic summary copy comes from Tamakkan; the HBDI result is English-only today (TK-1.13): its Arabic and French strings need native review before they ship.

Content

Part English Arabic
Summary title Your strongest interest themes أقوى مجالات اهتمامك
Theme Investigative (I) · Thrives on research, analysis, and solving complex puzzles. تحليلي (I) · تستمتع بالتحليل، البحث، وفهم النظريات المعقدة.
Theme Social (S) · Prioritizes helping others, coaching, and teamwork. اجتماعي (S) · تحفّزك مساندة الآخرين والعمل بروح الفريق.
Theme Artistic (A) · Values creativity, self-expression, and unstructured environments. إبداعي (A) · تحب التعبير عن أفكارك بأساليب مبتكرة وإبداعية.
HBDI HBDI synthesis · Your HBDI insights · Dominant style: {style} · Recommended majors · Download results (native review)
Quadrant Name Line
A Analytical Logic and data
B Sequential Structure and detail
C Interpersonal People and connection
D Holistic Vision and innovation
  • Lines in sentence case with "and", never capitals or "&" (Tamakkan writes "Logic & Data" today; D-CSN-47, TK-2.20).
  • Majors and reasons come from Tamakkan's major list ("Computer Science / Software Engineering" · "Highly analytical, logic-based problem solving." · "High demand in software houses, banks, and startups."); each major names its quadrant ("Quadrant A").
  • Scores are numbers with tabular figures; no percentages unless the assessment gives them.

Do and don't

Do Don't
Letter every quadrant, everywhere it appears. Let blue, green, burgundy, or sand stand for a quadrant on their own.
Put the letters in the fill's on-color. Put a chart hue on its own fill (chart-3 on pastel-mint is 2.88:1).
Draw the dominant style as a flat primary block. Use Tamakkan's violet gradient badge.
Put the major's edge on the inline start. Use a left border that stays on the left in Arabic.
Repeat the radar's values in the score cards. Leave the radar as the only place the scores appear.

Code

HTML (reference CSS)

The result summary (shown under data-product="tamakkan", which Tamakkan sets on <html>):

<section class="oa-result-card" aria-labelledby="pr-result-themes">
  <h3 class="oa-result-card__title" id="pr-result-themes">Your strongest interest themes</h3>
  <ol class="oa-result-card__list">
    <li class="oa-result-card__row">
      <span class="oa-result-card__rank">1</span>
      <span class="oa-result-card__content"><span class="oa-result-card__name">Investigative (I)</span><span class="oa-result-card__desc">Thrives on research, analysis, and solving complex puzzles.</span></span>
      <span class="oa-result-card__score">42</span>
    </li>
    <li class="oa-result-card__row">
      <span class="oa-result-card__rank">2</span>
      <span class="oa-result-card__content"><span class="oa-result-card__name">Social (S)</span><span class="oa-result-card__desc">Prioritizes helping others, coaching, and teamwork.</span></span>
      <span class="oa-result-card__score">37</span>
    </li>
    <li class="oa-result-card__row">
      <span class="oa-result-card__rank">3</span>
      <span class="oa-result-card__content"><span class="oa-result-card__name">Artistic (A)</span><span class="oa-result-card__desc">Values creativity, self-expression, and unstructured environments.</span></span>
      <span class="oa-result-card__score">31</span>
    </li>
  </ol>
</section>

The HBDI result:

<section class="oa-hbdi" aria-labelledby="pr-hbdi-title">
  <p class="oa-eyebrow">HBDI synthesis</p>
  <h3 class="oa-hbdi__title" id="pr-hbdi-title">Your HBDI insights</h3>
  <p class="oa-hbdi__badge">Dominant style: Analytical</p>
  <div class="oa-hbdi__layout">
    <figure class="oa-hbdi__radar">
      <svg viewBox="0 0 240 240" role="img" aria-label="Your four scores on a radar: A Analytical 31, B Sequential 24, C Interpersonal 27, D Holistic 18">
        <g class="oa-hbdi__grid"><circle cx="120" cy="120" r="20"/><circle cx="120" cy="120" r="40"/><circle cx="120" cy="120" r="60"/><circle cx="120" cy="120" r="80"/><path d="M120 40V200M40 120H200"/></g>
        <path class="oa-hbdi__shape" d="M120 58L168 120L120 174L84 120Z"/>
        <circle class="oa-hbdi__point" data-quadrant="a" cx="120" cy="58" r="6"/>
        <circle class="oa-hbdi__point" data-quadrant="b" cx="168" cy="120" r="6"/>
        <circle class="oa-hbdi__point" data-quadrant="c" cx="120" cy="174" r="6"/>
        <circle class="oa-hbdi__point" data-quadrant="d" cx="84" cy="120" r="6"/>
        <text class="oa-hbdi__axis" x="120" y="26" text-anchor="middle">A</text>
        <text class="oa-hbdi__axis" x="218" y="126" text-anchor="middle">B</text>
        <text class="oa-hbdi__axis" x="120" y="226" text-anchor="middle">C</text>
        <text class="oa-hbdi__axis" x="22" y="126" text-anchor="middle">D</text>
      </svg>
    </figure>
    <ul class="oa-hbdi__scores">
      <li class="oa-hbdi__score" data-quadrant="a">
        <span class="oa-hbdi__key">A</span>
        <span class="oa-hbdi__text"><span class="oa-hbdi__name">Analytical</span><span class="oa-hbdi__sub">Logic and data</span></span>
        <span class="oa-hbdi__value">31</span>
      </li>
      <li class="oa-hbdi__score" data-quadrant="b">
        <span class="oa-hbdi__key">B</span>
        <span class="oa-hbdi__text"><span class="oa-hbdi__name">Sequential</span><span class="oa-hbdi__sub">Structure and detail</span></span>
        <span class="oa-hbdi__value">24</span>
      </li>
      <li class="oa-hbdi__score" data-quadrant="c">
        <span class="oa-hbdi__key">C</span>
        <span class="oa-hbdi__text"><span class="oa-hbdi__name">Interpersonal</span><span class="oa-hbdi__sub">People and connection</span></span>
        <span class="oa-hbdi__value">27</span>
      </li>
      <li class="oa-hbdi__score" data-quadrant="d">
        <span class="oa-hbdi__key">D</span>
        <span class="oa-hbdi__text"><span class="oa-hbdi__name">Holistic</span><span class="oa-hbdi__sub">Vision and innovation</span></span>
        <span class="oa-hbdi__value">18</span>
      </li>
    </ul>
  </div>
  <h4 class="oa-hbdi__subtitle">Recommended majors</h4>
  <ul class="oa-hbdi__majors">
    <li class="oa-hbdi__major" data-quadrant="a">
      <h5 class="oa-hbdi__major-name">Computer Science / Software Engineering</h5>
      <span class="oa-hbdi__chip">Quadrant A</span>
      <p class="oa-hbdi__reason">Highly analytical, logic-based problem solving.</p>
      <p class="oa-hbdi__reason">High demand in software houses, banks, and startups.</p>
    </li>
    <li class="oa-hbdi__major" data-quadrant="b">
      <h5 class="oa-hbdi__major-name">Accounting</h5>
      <span class="oa-hbdi__chip">Quadrant B</span>
      <p class="oa-hbdi__reason">Structured, rule-based detail work.</p>
      <p class="oa-hbdi__reason">Very strong market needs.</p>
    </li>
    <li class="oa-hbdi__major" data-quadrant="c">
      <h5 class="oa-hbdi__major-name">Psychology</h5>
      <span class="oa-hbdi__chip">Quadrant C</span>
      <p class="oa-hbdi__reason">Understanding human behavior.</p>
      <p class="oa-hbdi__reason">Demand rising in clinics and schools.</p>
    </li>
    <li class="oa-hbdi__major" data-quadrant="d">
      <h5 class="oa-hbdi__major-name">Graphic Design</h5>
      <span class="oa-hbdi__chip">Quadrant D</span>
      <p class="oa-hbdi__reason">Creative problem solving.</p>
      <p class="oa-hbdi__reason">Marketing and digital media.</p>
    </li>
  </ul>
</section>

Tailwind CSS v4

<!-- result summary -->
<section class="flex flex-col gap-stack rounded-card border border-transparent bg-surface-container-low p-card text-on-surface sm:p-card-medium" aria-labelledby="themes-title">
  <h2 class="text-title-md" id="themes-title">Your strongest interest themes</h2>
  <ol class="flex flex-col gap-stack">
    <li class="grid grid-cols-[auto_minmax(0,1fr)_auto] items-start gap-x-4">
      <span class="grid size-8 place-items-center rounded-full bg-primary-container text-label-md tabular-nums text-on-primary-container">1</span>
      <span class="flex min-w-0 flex-col gap-1"><span class="text-title-sm">Investigative (I)</span><span class="text-body-md text-on-surface-variant">Thrives on research, analysis, and solving complex puzzles.</span></span>
      <span class="text-numeral-md tabular-nums text-primary-ink">42</span>
    </li>
  </ol>
</section>

<!-- dominant style, a quadrant score card, a major -->
<p class="self-start rounded-12px border border-transparent bg-primary px-5 py-3 text-title-md text-on-primary">Dominant style: Analytical</p>
<li class="grid min-h-18 grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-x-3 rounded-card border border-outline-variant bg-card-outlined-container px-4 py-3">
  <span class="grid size-10 place-items-center rounded-12px bg-pastel-lavender text-title-md text-on-pastel-lavender">A</span>
  <span class="flex min-w-0 flex-col"><span class="text-title-sm">Analytical</span><span class="text-body-sm text-on-surface-variant">Logic and data</span></span>
  <span class="text-numeral-md tabular-nums">31</span>
</li>
<li class="flex flex-col items-start gap-stack-tight rounded-card border border-s-4 border-outline-variant border-s-chart-2 bg-card-outlined-container p-card sm:p-card-medium">…</li>

Quadrant B: bg-pastel-mint text-on-pastel-mint and border-s-chart-3; C: bg-cat-burgundy-container text-on-cat-burgundy-container and border-s-chart-6; D: bg-pastel-sand text-on-pastel-sand and border-s-chart-5.

React

Prop Type Default Description
ResultSummary.title string — The card's title.
ResultSummary.rows { name: string; code?: string; description: string; score: number }[] — In rank order; code ("I") is isolated left to right.
HbdiResult.scores { a: number; b: number; c: number; d: number } — The four quadrant scores; draw the radar and the cards.
HbdiResult.dominant ("a" | "b" | "c" | "d")[] — Leading quadrants, in A–D order; empty until the assessment is finished, and an empty list draws no badge.
HbdiResult.majors { name: string; quadrant: "a" | "b" | "c" | "d"; reasons: string[] }[] — Recommended majors.
HbdiResult.labels Record<"a" | "b" | "c" | "d", { name: string; line: string }> — Quadrant names and lines in the page language.
headingLevel 2 | 3 2 The cards' heading level.
<ResultSummary title={t('results.themes')} rows={result.themes} />
<HbdiResult scores={hbdi.scores} dominant={hbdi.dominant} majors={hbdi.majors} labels={quadrantLabels(t)} />