Skip to content
OAIT Design System

Design system

Components

Sixty component pages, one per component family. Each page follows the same template, so you can find the same thing in the same place on every page. The plain-CSS markup on every page is identical to its snippet in reference/snippets/, and the kitchen sink shows every variant and state together.

How to read a component page

Section What it gives you
When to use, When not to use The job of the component, and the component to use instead
Anatomy The numbered parts
Variants, Sizes Each variant with its use and key tokens; each size with height, padding, type style, and icon size
Tokens Every part, property, and token
States Enabled, hover, focus, pressed, selected, disabled, error, and loading, with the state-layer opacities
Behavior, Accessibility Interaction, keyboard, responsive changes, motion, element and role, name, focus, and target size
RTL and languages, Content Mirroring, Arabic and French rules, and label rules with real product copy
Do and don't Pairs of right and wrong
Code HTML with the reference classes (oa-), the Tailwind CSS v4 recipe, and the React props contract

Product-only components say so under their title. Every rule ends with the decision IDs it implements; the decisions are in audit/decision-log.md and the later rulings in audit/rulings.md.

Actions

Component What it is for Reference CSS Snippet
Button A button starts an action in place: it signs in, saves, sends, confirms, or moves a flow to its next step. button.css actions.html
Icon button An icon button runs an action that one well-known icon names on its own: close, menu, save, pause. button.css actions.html
Link A link takes people to another place: a page, a section, a file, an email address, or a phone number. link.css actions.html
Segmented button A segmented button sets one of two to four modes of the same content: which side of a card shows, which way a station scans, how cards print. segmented.css actions.html
Chip Chips are compact pills: interactive chips filter, apply, suggest, or assist, and status chips, dot pills, inline status, and code tags label a state or a kind. chip.css actions.html

Inputs and selection

Component What it is for Reference CSS Snippet
Text field A labeled box for one value the person types, with the label above, a 56px box, and one message line under it; the family base that select, search, phone, one-time code, date, and file inputs share. inputs.css inputs.html
Select The browser's own drop-down list, drawn as a 56px field with a 24px arrow_drop_down at the inline end, for choosing one value from a long or familiar list. inputs.css inputs.html
Search field A field for typing a query inside a role="search" region, with a leading search icon and a "Clear search" button once it holds text; on listing pages it grows into the search panel. inputs.css inputs.html
Checkbox, radio, and switch Native checkboxes and radios in 48px label rows for answers in a form, and the switch for one setting that applies the moment it is pressed. selection.css inputs.html
Choice card A large option to tap: a card-shaped <label> around a visible native radio or checkbox, with a title, an optional description, and an optional icon. It is how forms ask a question whose answers people read and compare. selection.css inputs.html
Sign in with Global ID The one way to offer Global ID sign-in: a portable 56px pill with the Global ID logo and the label "Global ID", the same in every product, language, and theme. gid-kit.css inputs.html

Containers

Component What it is for Reference CSS Snippet
Card A rounded surface that groups the content and actions about one subject: a status, a summary, a record, a job, an app, a task. card.css containers.html
Panel A section-sized surface on the 32px hero radius that sets one part of a page apart: a hero, "How it works", the auth frame, one highlight, or the dark call-to-action band. panel.css containers.html
List A column of rows separated by hairlines: settings that open a one-field edit, recent activity, connected accounts, members, and key–value facts. list.css containers.html
Data table Records in columns inside a named region that scrolls sideways: a directory of people, guests, stations, or rows of an imported file, with selection, sorting, and row actions. table.css containers.html
Accordion Rows that show and hide their content: FAQs and static disclosures as native details and summary, and controlled disclosures such as filter groups. disclosure.css containers.html
Avatar A person shown as a circle (a photo, two initials, or the person icon), or an organization or app shown as a rounded square. avatar-badge.css containers.html
Badge A small count or dot on a control that says how many things are on, new, or waiting: "Filters" with "1", a navigation icon with "4", a dot for something that needs attention. avatar-badge.css containers.html
Divider A 1px outline-variant hairline that separates content, and the "or" divider between two ways to do the same thing. list.css containers.html

Overlays

Component What it is for Reference CSS Snippet
Dialog A modal surface for one small job: a question to answer, one small form to fill in, or a destructive action to confirm. overlay.css overlays.html
Bottom sheet The phone container of a dialog: a modal panel that rises from the bottom edge for one small job, below 768px. overlay.css overlays.html
Side sheet A modal panel that slides in from the side of the window to hold navigation on phones: the site header's menu, and the admin console's drawer below 768px. overlay.css overlays.html
Menu and popover Anchored lists and panels that open from a button: action menus for row actions, disclosure lists for the language and account links, and popovers for help and details. overlay.css overlays.html
Tooltip The plain tooltip: a short label that appears beside a control on mouse rest or keyboard focus and repeats or adds to the control's name. overlay.css overlays.html
Component What it is for Reference CSS Snippet
Site header The 72px glass bar at the top of every marketing and public page, and one style for every product (D-CSN-51): three zones in one order. The product lock-up; the main navigation from 1024px; then the language switcher, the account slot ("Sign in", or the account button once signed in), one filled action, and the menu button, with a menu sheet on smaller windows. site-nav.css site-nav.html
Footer The end of every page, and one style for every product (D-CSN-52): the brand zone, one or two product link groups, the Platforms group that lists the family, and the legal bar that says who owns and who builds the product. Inside an app shell the same footer shows its legal links only, as one quiet row at the end of main. site-nav.css site-nav.html
Breadcrumbs and back links The way up from a page: a back link when the page sits one level below its parent, a breadcrumb trail when it sits two or more levels down. site-nav.css site-nav.html
Pagination How long collections continue: data tables page with a status line and previous and next circles; member lists show five items and a "Show {count} more" button. site-nav.css site-nav.html
Sticky action bar A glass bar stuck to the bottom of a phone's window that keeps a page's one main action in reach when that action has scrolled away or lives in an aside. site-nav.css site-nav.html

App navigation

Component What it is for Reference CSS Snippet
Top app bar The bar at the top of every app shell: the product's home link, an optional context chip, and the language switcher and account control. This page also specifies the app shell, the grid that the bar, the navigation, and the main region share. app-nav.css app-nav.html
Navigation bar The bottom bar of the member app on phones: two to five destinations, each an icon in an indicator pill above a label, as the last row of the app shell. app-nav.css app-nav.html
Navigation rail The member app's navigation from 768px: a 96px column at the inline start, its destinations stacked as icons in indicator pills above their labels. app-nav.css app-nav.html
Navigation drawer The navigation of consoles: a 272px column of grouped places from 768px, and the same list in a modal side sheet behind a "Menu" row below 768px. app-nav.css app-nav.html
Tabs Underline tabs switch between views of the same thing without leaving the page; link tabs, drawn the same way, move between pages that share one place. app-nav.css app-nav.html
Stepper The step header of in-app flows of three or more steps: "Step 2 of 4", the step's heading, and a segmented bar, with Continue and Back ending each step. app-nav.css app-nav.html

Feedback

Component What it is for Reference CSS Snippet
Snackbar The family's only transient message: one short sentence at the bottom of the window that confirms what just happened, or says that a background action failed, and goes by itself. feedback.css feedback.html
Banner One inline notice in five tones that stays in the page until its cause goes away; it also covers the form error summary and the full-width page strip for demo, practice, and staging screens. feedback.css feedback.html
Progress A linear bar shows how much of a task is done and a spinner shows that something is happening; both always come with words. feedback.css feedback.html
Skeleton Placeholder blocks drawn in the final layout, which stand in for content with a known layout while it takes more than a second to load. feedback.css feedback.html
Empty state What a container shows when it has nothing to show, and the full pages that stand in for a view that cannot be shown: page not found, error, offline, not set up, and expired link. feedback.css feedback.html
Status indicator A dot and words that mark a state: a large dot with a halo before a heading or a line, a small dot inside chips and cells; only real-time live states pulse. feedback.css feedback.html

Marketing

Component What it is for Reference CSS Snippet
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. marketing.css marketing.html
Section header The heading block of a marketing section: an eyebrow with its rule, the section's h2, and a one-sentence lead, above the section's content. marketing.css marketing.html
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. marketing.css marketing.html
Stat tile A filled card that shows one key number with its label: a count, a total, a KPI, a counter. marketing.css marketing.html
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". marketing.css marketing.html
CTA band The page's one dark band: the inverse panel with a section header, up to six principle items, and at most one filled call to action with a text link. marketing.css marketing.html
FAQ A marketing section of up to six common questions, each a native disclosure row whose answer opens in place, under one h2. marketing.css marketing.html
Pause control The 48px outlined icon button that pauses every animation in its region, required wherever something moves by itself for more than 5 seconds. marketing.css marketing.html

Brand kit

Component What it is for Reference CSS Snippet
Logo lock-up A product's mark, its name in live text, and an optional endorsement line, set together as one link home; this page also covers the mark on its own. brand-kit.css brand-kit.html
Language switcher The control that shows the page's language and changes it: a disclosure listing every language in its own script when a product has three, a direct link or button to the other language when it has two. brand-kit.css brand-kit.html
Theme toggle How people choose light or dark: products follow the system setting, settings pages offer "Appearance: System / Light / Dark", and the header of a product that ships a dark theme carries a 48px dark_mode icon button. brand-kit.css brand-kit.html
Platform strip Product component (oait.app): a labeled row of 48px tiles, one per product of the family, that picks which product a showcase presents, with a link to explore the chosen one. brand-kit.css brand-kit.html

Product signatures

Component What it is for Reference CSS Snippet
ID card Global ID's credential: a person's University card, English on the front and Arabic on the back, drawn in the colors of their person type. Product component (Global ID). product.css product.html
QR pass Global ID's scan pass: the person's rotating scan code on its orange panel, held up to a reader at a gate, the library, or an exam. Product component (Global ID). product.css product.html
Passport card The family's platform card: one product, or a sample person, drawn as an ID-1 card for marketing heroes, app switchers, and social images. Family illustration (canonical §9): oait and every product's marketing may draw it; it is art, never a control. product.css product.html
Job card One job posting in Global Jobs' results: the employer, the title as the card's one link, where, how much, and how long it stays open. Product component (Global Jobs). product.css product.html
Game tiles Global Games' campus-play pieces: the visitor's passport score, the points and visit tiles, the leaderboard of rank rows, and the booth cards. Product component (Global Games). product.css product.html
Stage Global Games' projector stage: a fixed 1920 × 1080 artboard, scaled to the screen and letterboxed, showing one scene at a time to a room. Product component (Global Games). product.css product.html
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). product.css product.html