Navigation, brand, and product components in apps
How the 30 navigation, marketing, brand-kit, and product components of the family are built in a native app: which ones an app uses, what stays exactly as the web page says, what the platform changes, and which control each stack starts from. The rules are binding in canonical §18 (D-APP-01 to D-APP-63); the reasons and the platform facts are in Mobile apps. The other two groups are actions and inputs and containers, overlays, and feedback; the index lists all 60 components.
Contents
- How to read a section
- Rules every section relies on
- App navigation: Top app bar · Navigation bar · Navigation rail · Navigation drawer · Tabs · Stepper
- Site navigation: Breadcrumbs and back links · Pagination · Sticky action bar · Site header · Footer
- Marketing: Hero · Section header · Feature card · Stat tile · Steps row · CTA band · FAQ · Pause control
- Brand kit: Logo lock-up · Language switcher · Theme toggle · Platform strip
- Product signatures: ID card · QR pass · Passport card · Job card · Game tiles · Stage · Result card
How to read a section
Each section has the anchor of its component page's file name and five parts.
- In apps. One verdict: used as is, used, adapted (and what changes), not used in apps (and what an app uses instead), or product art (drawn by the product from its component page). The verdict starts from the app inventory's relevance and says so where the component page shows it differently.
- What stays identical. What the app keeps from the component page, by section of that page. The page's tables are not repeated here.
- What changes in an app. Touch, gestures and their tap alternatives, what the system draws, large text, right to left, the keyboard, safe areas, and haptics where D-APP-31 gives the component one.
- One row per stack. SwiftUI, Jetpack Compose, Android Views, Flutter, and React Native: the control to start from, the defaults to override with the token for each, and the accessibility properties to set. Every control and property name links to the vendor page it was checked on. In the Compose and React Native rows the reference kit component (D-APP-62) comes first, and the platform control it wraps after it; the kits exist for those two stacks only in this release. Android Views receives tokens only (D-APP-08), so its row names the Material Components view and the attributes to set.
- Do and do not in apps. Only what differs from the web page's own Do and don't.
Token names are written as in the token reference, without the CSS prefix: colors and type styles bare (primary-ink, label-sm), the other families with their family word (space-4, radius-full, size-nav-bar, opacity-state-pressed, duration-short-3, shadow-elevation-1, breakpoint-md). Each stack spells them as D-APP-07 says, for example primaryInk, space4, and titleMd in Swift, Kotlin, Dart, and TypeScript, and oait_color_primary_ink in Android XML. Lengths are dp: 1px on the web is 1dp, 1pt, and 1 logical pixel (D-APP-05).
Rules every section relies on
These apply to every row below, so the rows only point to them.
Pressed layer. A press shows the 12% layer of the content color (
opacity-state-pressed) inside the control's shape: a bounded ripple with that alpha on Android, a fade on iOS; hover (opacity-state-hover) only when a pointer is attached; nothing scales or lifts (D-APP-32). The Compose and React Native kits draw it; elsewhere set it on the control (SwiftUIButtonStyle, React NativePressableandroid_ripplewithalpha0.12).Focus. Keyboard, switch, and D-pad focus shows the 3dp
focus-ring2dp outside the edge where the kit draws the control; the system's own indicator stands on iOS and iPadOS; touch never shows a ring (D-APP-33).Capped chrome. Text in navigation bar labels, top app bar titles, tabs, and segmented buttons stops growing at 1.3× (D-APP-18). Everything else scales fully, to 200% at least (D-APP-17). How each stack caps:
Stack How the cap is applied SwiftUI The drawn bars cap their labels at 1.3 times and add accessibilityShowsLargeContentViewer(), so a long press shows the label large (D-APP-66)Compose Provide a DensitywhosefontScaleis at most 1.3 throughLocalDensityaround the bar's text; the Compose kit'sOaitCappedFontScaledoes exactly thisAndroid Views No per-view cap was found in the pages opened. Keep the label's text size in sp; test at 200% on a device Flutter MediaQuery.withClampedTextScalingwithmaxScaleFactor: 1.3around the barReact Native maxFontSizeMultiplierof 1.3 on the label, plusaccessibilityShowsLargeContentViewerandaccessibilityLargeContentTitleon iOS (accessibility props)Icons. Every glyph is Material Symbols Rounded from the app's subset font through
OaitIcons; FILL 1 only for the current or selected item; directional glyphs mirror by the OAIT registry, never by a platform flag; system-drawn UI keeps its own glyphs (D-APP-25, D-APP-41).Insets. Bars add the system inset to their own padding, never replace it; backgrounds run under the system bars (D-APP-35).
Names, roles, states. Every control has the visible label as its name, a role, and its state; decorative icons and art are hidden from assistive technology; in-app navigation is a button, and the link role is for web content only (D-APP-50, React Native accessibility).
Top app bar
In apps: used, adapted. Inventory relevance core_app, confirmed. The bar keeps its anatomy, height, and tokens, and gains a back control at the start of every screen that is not a tab root (D-APP-42). On iOS the app draws the same bar: one top app bar on Android and iOS (D-APP-66, which replaces the system-bar rule of D-APP-40).
What stays identical (Top app bar):
- Anatomy: the opaque
surfacecontainer, the start group (the lock-up on a tab root), the optional context chip that truncates first, and the end group with the language switcher and the account control only (Anatomy, Behavior). - Sizes:
size-header-compact(64dp) in shells with a navigation bar,size-header(72dp) everywhere else, plus the top inset; the start and end paddings and gaps (Sizes, Tokens). - States: no state of its own, never an edge, shadow, or fill on scroll; the controls' own states (States).
- Words: the home link named by the product name, "Account menu, {name}", the chip's 1 to 3 words (Content).
What changes in an app:
- Back. On a pushed screen the start holds a 48dp back control,
arrow_backmirrored in right to left, named "Back" ("رجوع", "Retour"), in place of the lock-up. The iOS edge swipe and the Android system back (predictive back) always work; back closes the topmost overlay first (D-APP-42). On a tab root the start keeps the lock-up, as on the web. - Title. On a pushed screen the bar holds the screen's title after the back control, in
title-lgon one line; it is the screen's heading, so the content does not repeat it as a heading. On a tab root the lock-up stands in its place and is the bar's heading. The bar is the same on iOS and Android (D-APP-66). Keep titles short enough for one line at 360 wide. - Scrolling. The bar never collapses, lifts, or changes color on scroll; no Material scroll behavior. Below 480dp of height it scrolls away with the content (D-APP-37).
- System bars. The status bar is transparent and the bar's
surfaceruns under it; the bar adds the top inset to its 64 or 72dp (D-APP-35). - Large text. The title text and the lock-up's name in the bar are capped at 1.3× (D-APP-18); the bar grows in height, never clips.
- Touch. The switcher, the account control, and the back control show the pressed layer; no hover on touch.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | A drawn bar (D-APP-66): NavigationStack keeps the back stack and the edge swipe; its system bar is hidden with toolbar(_:for:) hidden for navigationBar; the OAIT bar is an HStack placed with safeAreaInset(edge:alignment:spacing:content:) at the top edge |
Height 64 plus the top inset, surface, no edge; arrow_back (mirrored in right-to-left) as an icon button at the start of pushed screens, calling dismiss; the title in title-lg; the end cluster as icon buttons. Check on a device that the edge swipe still goes back with the system bar hidden: it must (D-APP-42) |
Mark the title or the lock-up as a heading with accessibilityAddTraits(_:) isHeader; name the back control "Back" and the account control "Account menu, {name}" with accessibilityLabel(_:); add accessibilityShowsLargeContentViewer() to the bar's icon buttons |
| Compose | OaitTopAppBar, which wraps TopAppBar |
expandedHeight size-header-compact or size-header; colors from TopAppBarDefaults.topAppBarColors with containerColor and scrolledContainerColor both surface, navigationIconContentColor, titleContentColor, and actionIconContentColor on-surface; windowInsets from the defaults; no scrollBehavior; navigationIcon an IconButton of size-touch-target; the kit's pressed layer |
The back Icon's contentDescription "Back"; the title, or the lock-up on a tab root, semantics { heading() }; the account control's "Account menu, {name}" |
| Android Views | MaterialToolbar in an AppBarLayout with android:fitsSystemWindows="true" |
android:background surface; height from size-header-compact or size-header; app:liftOnScroll="false"; app:navigationIcon the arrow_back glyph, mirrored by the registry; app:titleTextAppearance from title-lg |
app:navigationContentDescription "Back"; the title's view android:accessibilityHeading="true" |
| Flutter | AppBar; SliverAppBar with pinned: false for the short-window case |
toolbarHeight 64 or 72 (size-header-compact, size-header); backgroundColor surface; foregroundColor on-surface; elevation and scrolledUnderElevation 0; surfaceTintColor transparent; leading an IconButton with the arrow_back glyph from OaitIcons, never Flutter's own back glyph (D-APP-25); title in title-lg |
IconButton tooltip "Back", which is also its semantic label; the title in Semantics(headingLevel: 1) |
| React Native | OaitTopAppBar, built from View and Pressable; with React Navigation, pass it as the native stack's header option |
backgroundColor surface; minHeight 64 or 72 plus the top inset; controls minWidth and minHeight size-touch-target; android_ripple with alpha 0.12 |
Back: role="button", accessibilityLabel "Back"; the title, or the lock-up on a tab root, role="heading" (accessibility); title title-lg, one line, maxFontSizeMultiplier 1.3 |
Do and do not in apps:
| Do | Don't |
|---|---|
| Show a back control on every screen that is not a tab root. | Rely on the edge swipe or the system back alone. |
| Leave the iOS system bar transparent and tinted. | Paint surface or orange behind the iOS navigation bar. |
| Keep the bar the same color at every scroll position. | Use Material's color change or collapse on scroll. |
Navigation bar
In apps: used, adapted. Inventory relevance core_app, confirmed. Every app draws this bar, on Android and on iOS alike: SwiftUI composes it, and Android, Flutter, and React Native take it from the kit or the stack's control (D-APP-66, which replaces the system tab bar of D-APP-40).
What stays identical (Navigation bar):
- Anatomy: two to five destinations, each an icon in a 64×32 indicator pill above its label; icon and label always shown (Anatomy, Variants).
- Sizes and tokens:
size-nav-bar(80dp) plus the bottom inset onsurface-container;label-sm;size-icon-lg; the current destination'sprimary-containerpill, filledon-primary-containericon, andon-surfacelabel at weight 700 (Sizes, Tokens, States). - The same destinations as the rail from 768dp, never together with a sticky action bar, and the labels of the Content table.
What changes in an app:
- Roles. A destination is a tab with a selected state, not a link: the platform's tab semantics replace
aria-current(D-APP-50). - Pressing the current destination returns its stack to its root, then scrolls to the top, as Material asks (navigation bar guidelines); each destination keeps its own stack while another is shown.
- No swipe moves between destinations (Material's own rule, same source).
- Keyboard. Hide the bar while the on-screen keyboard is visible; the platform's keyboard insets replace the web's
visualViewportarithmetic. The same holds on iOS. - Large text. Labels are capped at 1.3×; Arabic labels keep their taller line, so the bar keeps a minimum height, never a fixed one (D-APP-18).
- Safe areas. The bar adds the bottom inset to its own 16dp bottom padding (D-APP-35).
- Haptics. None: navigation takes no haptic (D-APP-31).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | A drawn bar (D-APP-66): the destinations as Buttons in an HStack, placed with safeAreaInset(edge:alignment:spacing:content:) at the bottom edge over the selected destination's NavigationStack; if a TabView holds the destinations, hide its system bar with toolbar(_:for:) hidden for tabBar |
Height 80 plus the bottom inset on surface-container; each item a 24 icon in a 64 by 32 pill with its label in label-md; current: the pill in primary-container, the filled icon, the label at 700. No tint, no system glass |
The row carries the tab-bar trait (isTabBar) and each item the selected state through accessibilityAddTraits(_:) isSelected; add accessibilityShowsLargeContentViewer() to each item, since labels stop growing at 1.3 times |
| Compose | OaitNavigationBar, which wraps NavigationBar and NavigationBarItem (the 80dp bar, not the 64dp short bar) |
containerColor surface-container; tonalElevation 0; windowInsets from the defaults; alwaysShowLabel = true; NavigationBarItemDefaults.colors with indicatorColor primary-container, selectedIconColor on-primary-container, selectedTextColor on-surface, unselectedIconColor and unselectedTextColor on-surface-variant; the label in label-sm, weight 700 when selected; hide while WindowInsets.isImeVisible |
NavigationBarItem is selectable with Role.Tab and selected by itself; the label is the name, the icon's contentDescription is null |
| Android Views | BottomNavigationView |
app:labelVisibilityMode="labeled"; android:background surface-container; setItemActiveIndicatorColor primary-container and setItemActiveIndicatorWidth 64; app:itemIconTint and app:itemTextColor state lists (on-primary-container and on-surface checked, on-surface-variant otherwise); app:itemTextAppearanceActive from label-sm at weight 700; app:scaleLabelWithFontSize="true", because the default is false and the label would not scale at all; app:labelMaxLines="2" |
Menu items' titles are the names; check TalkBack reads the selected state (D-APP-53) |
| Flutter | NavigationBar with NavigationDestination |
backgroundColor surface-container; indicatorColor primary-container; elevation 0; surfaceTintColor transparent; labelBehavior alwaysShow; labelTextStyle from label-sm; selectedIcon the FILL 1 glyph. height is fixed (80 by default) and does not follow the text: raise it until the capped Arabic label fits (about 85dp on the web page) and check on a device |
The destination's label is its name; check TalkBack and VoiceOver read the selected state (D-APP-53) |
| React Native | OaitNavigationBar, built from View and Pressable; with React Navigation, pass it as the bottom tabs' tabBar and set tabBarHideOnKeyboard |
Bar backgroundColor surface-container, minHeight size-nav-bar plus the bottom inset; items share the width, at least size-touch-target tall; the pill radius-full; android_ripple alpha 0.12 on the pill |
The bar role="tablist"; each item role="tab" with accessibilityState={{ selected }}; label maxFontSizeMultiplier 1.3 and, on iOS, accessibilityShowsLargeContentViewer (accessibility) |
Do and do not in apps:
| Do | Don't |
|---|---|
| Draw the same OAIT navigation bar on iOS and Android (D-APP-66). | Leave the iOS system tab bar in place under or beside the OAIT bar, or tint a system bar to imitate it. |
| Let the current destination's tap return to its root. | Reload the screen or do nothing on a second tap. |
Turn label scaling on in BottomNavigationView. |
Leave Views labels at a fixed size. |
Navigation rail
In apps: used, adapted. Inventory relevance core_app, confirmed. From breakpoint-md (768dp) of window width the member app shows the rail on Android, Flutter, and React Native, whatever the orientation (D-APP-34, D-APP-38). On iPad a SwiftUI app keeps the system tab view, which iPadOS draws at the top and can turn into a sidebar (tab navigation); it does not draw a rail.
What stays identical (Navigation rail):
- Anatomy: a 96dp column (
size-nav-rail) onsurfaceat the inline start, destinations stacked from the top 12dp apart, each an icon in a 56×32 pill above its label (Anatomy, Sizes). - The bar's destinations in the bar's order, at most five, labels that wrap inside 80dp and never truncate, and the current destination's look (When to use, States, RTL and languages).
What changes in an app:
- The switch is the family's 768dp, not Material's 600dp: a toolkit that picks bar or rail by itself must be given the OAIT threshold (D-APP-34).
- Roles. Destinations are tabs with a selected state, as on the bar.
- Safe areas. The rail pads the side inset on its own edge (a display cutout in landscape), and the bottom inset when it reaches the bottom (D-APP-35).
- Large text. Rail labels are navigation labels: capped at 1.3× (D-APP-18), wrapping inside the item.
- Right to left. The rail sits at the right in Arabic; every toolkit below places it by the layout direction.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | A drawn rail (D-APP-66): the same destinations as Buttons in a VStack, placed with safeAreaInset(edge:alignment:spacing:content:) at the leading edge from 768 wide |
Width 80 on surface-container; items as in the navigation bar, stacked |
As the navigation bar |
| Compose | NavigationRail with NavigationRailItem (no kit component in 1.1.0); in NavigationSuiteScaffold, pass layoutType from the window width against breakpoint-md |
Width size-nav-rail; containerColor surface; NavigationRailItemDefaults.colors as for the bar items; alwaysShowLabel = true; label label-sm; top padding space-3, bottom space-6 |
NavigationRailItem is selectable with Role.Tab; the label is the name |
| Android Views | NavigationRailView |
app:menuGravity="top"; app:labelVisibilityMode="labeled"; width size-nav-rail; background surface; the bar's tints and indicator color; app:scaleLabelWithFontSize="true" |
As for the bar |
| Flutter | NavigationRail with NavigationRailDestination |
minWidth 96 (size-nav-rail); labelType NavigationRailLabelType.all; groupAlignment -1 (top); backgroundColor surface; indicatorColor primary-container; selectedIconTheme on-primary-container; selectedLabelTextStyle and unselectedLabelTextStyle from label-sm |
The destination's label; check the selected state with a screen reader |
| React Native | No kit component: with React Navigation's bottom tabs, tabBarPosition left or right from 768dp of useWindowDimensions width, and the items of OaitNavigationBar stacked in a column as the tabBar |
Column width size-nav-rail, surface; the bar's item styles |
As for the bar. Check on a device which side left and right land on in Arabic: the rail belongs at the inline start |
Do and do not in apps:
| Do | Don't |
|---|---|
| Switch to the rail at 768dp of window width, in either orientation. | Use Material's 600dp default, or switch by device type. |
| Keep the iPad system tab view in SwiftUI. | Draw an Android-style rail in a SwiftUI iPad app. |
Navigation drawer
In apps: used, adapted. Inventory relevance app_adapt, confirmed. A console that ships as an app uses the drawer pattern (D-APP-39): from 768dp a permanent 272dp column, below 768dp a modal drawer opened from the "Menu" row at the inline start. Whether a console ships as an app is the product's decision (D-APP-04).
What stays identical (Navigation drawer):
- Anatomy: groups as disclosures with a 48dp group button, 56dp place rows whose whole row is the indicator, the divider, and the outlined "Back to …" at the end (Anatomy).
- Tokens:
size-nav-drawer,surface(column) andsurface-raised(sheet),primary-containercurrent row withon-surfacelabel at 700 and the filledon-primary-containericon (Tokens, States). - The group of the current place always open; the words of the Content table; the visible word "Menu".
What changes in an app:
- Gesture and its tap alternative. The modal drawer may also open with an edge drag where the toolkit offers it; the visible "Menu" row stays, so dragging is never the only way (D-APP-44).
- Back. System back closes the open drawer before anything else (D-APP-42).
- Remembered groups live in the app's own storage or the account, never
localStorage; the drawer draws its defaults without them. - Motion. The sheet travels in with the toolkit's motion; under reduced motion it appears without travel (D-APP-30).
- Right to left. The drawer and its sheet sit at the right in Arabic, by the layout direction.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | NavigationSplitView with the places in its sidebar and groups as DisclosureGroup; on iPhone the split view collapses into a stack |
tint(_:) primary-ink; the system draws the sidebar, its selection, and its width |
The system's; each group is named by its title |
| Compose | Below 768dp ModalNavigationDrawer with ModalDrawerSheet (the overload that takes drawerState handles predictive back); from 768dp PermanentNavigationDrawer with PermanentDrawerSheet; rows are NavigationDrawerItem |
Width size-nav-drawer; drawerContainerColor surface-raised (modal) or surface (column); drawerTonalElevation 0; drawerShape radius-sheet on the free corners; item shape radius-full, height size-list-row; NavigationDrawerItemDefaults.colors with selectedContainerColor primary-container, unselectedContainerColor transparent, selectedTextColor on-surface, selectedIconColor on-primary-container |
NavigationDrawerItem carries Role.Tab and its selected state; name the drawer with the console's name ("Admin console") through its paneTitle semantics |
| Android Views | DrawerLayout with NavigationView |
Width size-nav-drawer; app:itemShapeFillColor a state list (primary-container checked); app:itemTextColor and app:itemIconTint state lists; app:itemTextAppearance from label-md |
Menu items' titles are their names; the drawer's content description is the console's name |
| Flutter | NavigationDrawer with NavigationDrawerDestination in Scaffold.drawer below 768dp, the same widget as a column from 768dp; groups as ExpansionTile with initiallyExpanded for the current group |
backgroundColor surface-raised or surface; indicatorColor primary-container; indicatorShape a stadium (radius-full); surfaceTintColor transparent; width 272 |
The destination's label; Semantics(label:) with the console's name on the drawer |
| React Native | No kit component: React Navigation's drawer navigator (createDrawerNavigator); leave drawerPosition at its default, which is the left in left-to-right languages and the right in right-to-left ones; build its content from the kit's OaitListRow |
Drawer width size-nav-drawer; rows minHeight size-list-row, radius-full, primary-container when current |
Rows role="button" with accessibilityState={{ selected }}; groups accessibilityState={{ expanded }} |
Do and do not in apps:
| Do | Don't |
|---|---|
| Keep the "Menu" row in view on phones. | Leave the edge drag as the only way to open the drawer. |
| Let system back close the drawer first. | Pop the screen while the drawer is open. |
Tabs
In apps: used, adapted. Inventory relevance app_adapt, confirmed. Android, Flutter, and React Native draw the underline tabs. SwiftUI has no underline tab control, so a SwiftUI app composes it from buttons. It never uses the segmented picker for tabs: the family keeps tabs, which swap panels, apart from the segmented button, which sets a value (D-CAI-16).
What stays identical (Tabs):
- Anatomy and tokens: the list on a 1px
outline-variantedge, 48dp tabs (size-touch-target) withspace-4padding andlabel-md,primary-inkselected label and its 3dp indicator insetspace-3,on-surface-variantat rest (Anatomy, Sizes, Tokens). - One tab always selected; the list scrolls sideways and never wraps or truncates; labels of the Content table (States, Behavior, Content).
What changes in an app:
- Gesture and its tap alternative. A product may let people swipe between panels (a pager); the tabs are its tap alternative (D-APP-44). Without a pager nothing swipes.
- Motion. The indicator changes in place over
duration-short-4, at once under reduced motion; switch off the toolkit's sliding indicator where it can be switched off (component page, Behavior; D-APP-30). - Keyboard. Arrow keys between tabs apply only where a hardware keyboard drives focus; touch people tap.
- Link tabs become screens that keep the selected tab when the app restores them and open on it from a deep link; there is no URL to keep.
- Large text. Tab labels are capped at 1.3× (D-APP-18).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | No direct equivalent: compose from a horizontal ScrollView of Buttons with a ButtonStyle and a 3dp indicator under the selected one |
Label label-md, primary-ink selected, on-surface-variant at rest; minimum height size-touch-target; the list's outline-variant hairline; label capped with the Large Content Viewer |
accessibilityAddTraits(_:) isButton and, on the selected tab, isSelected |
| Compose | PrimaryScrollableTabRow with Tab; HorizontalPager only when panels swipe |
containerColor surface; edgePadding 0; divider a 1dp outline-variant line; indicator a 3dp primary-ink bar inset space-3; Tab selectedContentColor primary-ink, unselectedContentColor on-surface-variant; label label-md; the kit's pressed layer |
Tab is selectable with Role.Tab and its selected state; the label is the name |
| Android Views | TabLayout, with ViewPager2 only when panels swipe |
tabMode="scrollable"; tabIndicatorColor primary-ink; tabIndicatorHeight 3dp; tabIndicatorFullWidth="false"; tabTextColor a state list (primary-ink selected, on-surface-variant otherwise); tabTextAppearance from label-md; tabIndicatorAnimationDuration 0 |
Tab text is the name; TalkBack reads the selected tab |
| Flutter | TabBar with Tab, and TabBarView only when panels swipe |
isScrollable: true; tabAlignment start; labelColor primary-ink; unselectedLabelColor on-surface-variant; indicatorColor primary-ink, indicatorWeight 3; dividerColor outline-variant; TabController animationDuration zero, so the indicator does not slide |
The tab's text is its name; check the selected state with a screen reader |
| React Native | No direct equivalent: compose from a horizontal ScrollView of Pressables |
Tab minHeight size-touch-target, paddingHorizontal space-4; label label-md with maxFontSizeMultiplier 1.3; indicator 3dp primary-ink |
The row role="tablist"; each tab role="tab" with accessibilityState={{ selected }} (accessibility) |
Do and do not in apps:
| Do | Don't |
|---|---|
| Keep the tabs visible and tappable when panels also swipe. | Make swiping the only way to change panels. |
| Compose underline tabs in SwiftUI. | Use the segmented picker as a tab bar. |
Stepper
In apps: used, adapted. Inventory relevance core_app, confirmed. The stepper keeps its words, bar, and buttons; what changes is back, focus, and keeping answers. No stack has a control with the family's anatomy, so every stack composes it.
What stays identical (Stepper):
- Anatomy: "Step 2 of 4" in
label-md, the title inheadline-md, the 4dp segmented bar (primary-inkdone and current,surface-container-highestupcoming), Continue (size-button-lg, the one main action) then Back (Anatomy, Sizes, Tokens). - Behavior: Continue stays enabled and checks on press; the first invalid field takes focus; Back keeps the answers; nothing slides between steps; the bar is hidden from assistive technology because the count says it (States, Behavior, Accessibility).
- Words: "Step {n} of {total}", "Continue", "Back", never "Next step" (Content).
What changes in an app:
- One screen. The steps are states of one screen, not pushed screens, so no push transition plays between them.
- Back. On Android, the system back on step 2 or later does what Back does: the previous step, answers kept; on step 1 it leaves the flow. On iOS the bar's back control and the edge swipe leave the flow, because the system pops the screen; the in-content Back moves between steps. Answers stay for the session either way, so reopening the flow resumes it.
- Focus. After a step change, accessibility focus moves to the new title, which reads with its count ("Profile, Step 2 of 4").
- Keyboard. Continue sits in the scroll under the last field, or pinned above the keyboard when the step is one field (D-APP-36).
- Haptics. A blocked Continue may play the error haptic, never alone: the field messages carry it (D-APP-31).
- Right to left. The bar fills from the inline start; digits stay Western and isolated (D-APP-23).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | No direct equivalent: compose from Text, an HStack of shapes for the bar, and Buttons |
Count label-md on-surface-variant; title headline-md; segments 4dp, space-1 apart, radius-full; Continue size-button-lg |
Title isHeader; bar accessibilityHidden(_:); focus moves with AccessibilityFocusState and accessibilityFocused(_:); error haptic through sensoryFeedback(_:trigger:) |
| Compose | No direct equivalent: compose from Text, a Row of shapes, and the kit's OaitButton (filled lg, then text or outlined md); BackHandler enabled from step 2 |
The same tokens; no transition between steps | Title semantics { heading() } (semantics); bar clearAndSetSemantics {}; a FocusRequester on the title after each change; HapticFeedbackType Reject when blocked |
| Android Views | No direct equivalent: compose from TextViews, a row of views for the bar, and MaterialButtons; an OnBackPressedCallback enabled from step 2 |
Text appearances from label-md and headline-md; segment colors primary-ink and surface-container-highest |
Title android:accessibilityHeading="true"; bar importantForAccessibility="no" (View) |
| Flutter | No direct equivalent: Stepper draws another anatomy, so compose from Text, a Row of Containers, and the buttons; PopScope with canPop false from step 2 and onPopInvokedWithResult going back a step |
The same tokens | Title in Semantics with headingLevel; bar in ExcludeSemantics; focus to the title with FocusNode.requestFocus, or announce it with SemanticsService.sendAnnouncement |
| React Native | No direct equivalent: compose from Text, Views for the bar, and the kit's OaitButton; BackHandler hardwareBackPress on Android from step 2 |
The same tokens | Title role="heading"; bar aria-hidden; AccessibilityInfo.setAccessibilityFocus on the title after each change |
Do and do not in apps:
| Do | Don't |
|---|---|
| Keep the answers when people leave the flow by system back. | Throw the answers away when the flow screen pops. |
| Move accessibility focus to the new title. | Leave screen-reader focus on a Continue button that moved. |
Breadcrumbs and back links
In apps: not used in apps. Inventory relevance app_adapt, corrected: the back link's one job moves to the top app bar's back control (D-APP-42), so nothing of this component is drawn on an app screen. An app uses the back control of the top app bar for one level up (D-APP-42), and its tabs, rail, or drawer for where people are. Trails are not used on phone or tablet screens.
What stays identical (Breadcrumbs and back links):
- The principle: back goes to the real parent, not to whatever came before. A screen opened from a deep link or a notification gets its parent screens built under it, so back still goes up (When not to use, Behavior).
arrow_back, mirrored in right to left; never a chevron or a forward arrow (Do and don't).
What changes in an app:
- The control. One 48dp icon-only back control at the start of the top app bar, named "Back" ("رجوع", "Retour"); "Back to {place}" stays a web label (glossary). In an iOS system bar the system draws its own back symbol with no "Back" text.
- Gesture and its tap alternative. The edge swipe (iOS) and the system back (Android) have the visible back control as their tap alternative (D-APP-44).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | The arrow_back control of the drawn top app bar, and the edge swipe of NavigationStack |
See top app bar | "Back" |
| Compose | The navigationIcon of OaitTopAppBar (TopAppBar) |
As in the top app bar row | contentDescription "Back" |
| Android Views | app:navigationIcon of MaterialToolbar |
As in the top app bar row | app:navigationContentDescription "Back" |
| Flutter | The leading of AppBar |
As in the top app bar row | tooltip "Back" |
| React Native | The back control of OaitTopAppBar |
As in the top app bar row | role="button", accessibilityLabel "Back" |
Do and do not in apps:
| Do | Don't |
|---|---|
| Build the parent screens under a deep-linked screen. | Let back leave the app from a screen deep inside it. |
| Keep one back control in the bar. | Add a "Back to …" link in the content as well. |
Pagination
In apps: used, adapted. Inventory relevance app_adapt, confirmed. "Show {count} more" is used as it is in member lists. The pager stays with console data tables; its circles are buttons that change the page in place, because an app screen has no URL pages.
What stays identical (Pagination):
- Show more: five items, then the outlined md button "Show {count} more"; it goes away when everything shows; never infinite scroll and never numbered strips (When to use, Behavior).
- Pager: the status "Showing {from}–{to} of {total}", the page label, the two 48dp circles with mirrored chevrons, the tokens of the circles and the unavailable direction (Anatomy, Tokens).
- Words of the Content table; Western digits and isolated ranges (Content, RTL and languages).
What changes in an app:
- Lazy lists are fine. A list that draws only its visible rows (a lazy list) is not infinite scroll; what the rule forbids is loading more items because people scrolled.
- Focus. After "Show more", accessibility focus moves to the first new item.
- Pull to refresh is allowed on lists, with a visible Refresh action in the same screen and the platform control tinted
primary-ink(D-APP-44). - Pager. The unavailable direction is a disabled button that keeps its name, so the layout does not move; a page change announces the new status line (D-APP-52).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Button with the family's outlined ButtonStyle under the List; refreshable(action:) for pull to refresh |
Outlined md: size-button-md, outline edge, primary-ink label in label-lg; tint(_:) primary-ink on the refresh control |
The label is the name; focus the first new row with AccessibilityFocusState |
| Compose | The kit's OaitButton (outlined, md) under a LazyColumn; pager circles are the kit's OaitIconButton (outlined); PullToRefreshBox |
As the button mapping; circles size-touch-target, radius-full, outline edge, on-surface-variant chevron; the refresh indicator primary-ink |
Circles' contentDescription "Previous page" and "Next page"; a FocusRequester on the first new row |
| Android Views | MaterialButton with Widget.Material3.Button.OutlinedButton; SwipeRefreshLayout |
Stroke outline, text primary-ink, height size-button-md; the refresh color scheme primary-ink |
Button text is the name; circles' android:contentDescription |
| Flutter | OutlinedButton under the ListView; pager circles IconButton; RefreshIndicator |
The same tokens; RefreshIndicator color primary-ink |
Circles' tooltip "Previous page", "Next page"; focus the first new row with a FocusNode |
| React Native | The kit's OaitButton (outlined, md) as the FlatList footer; circles OaitIconButton; RefreshControl |
The same tokens; RefreshControl colors (Android) and tintColor (iOS) primary-ink |
Circles accessibilityLabel "Previous page", "Next page" and accessibilityState={{ disabled }}; AccessibilityInfo.setAccessibilityFocus on the first new row |
Do and do not in apps:
| Do | Don't |
|---|---|
| Offer a Refresh action wherever pull to refresh works. | Make the pull the only way to refresh. |
| Render visible rows lazily. | Fetch the next items when the scroll reaches the end. |
Sticky action bar
In apps: used, adapted. Inventory relevance app_adapt, confirmed. The bar is a pinned bottom row of the screen's layout, not a CSS sticky element, and it is opaque surface: the web page's own fallback, which needs no platform blur and keeps every pair at its measured contrast.
What stays identical (Sticky action bar):
- Anatomy: a one-line summary (title in
title-md, supporting line inbody-md, both truncated) and one filled lg button with the page's main action; a 1pxoutline-varianttop edge;space-3above and below,space-4at the sides (Anatomy, Sizes, Tokens). - Rules: never with a navigation bar; not from 1024dp; the scrolled-away variant shows only while the content's own main button is out of view, so one filled button is in view at a time; it appears and goes at once (When not to use, Behavior).
What changes in an app:
- Insets. The bar adds the bottom inset to its own 12dp bottom padding (D-APP-35).
- Keyboard. While the keyboard is up the bar hides, unless the screen is a one-step form whose main action it is; then it rides above the keyboard (D-APP-36).
- Short windows. Below 480dp of height the bar becomes the last part of the scrolling content (D-APP-37).
- Scrolled-away variant. Watch the main button's position in the scroll view in place of an
IntersectionObserver.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | safeAreaInset(edge:alignment:spacing:content:) with the bottom edge |
Background surface (opaque), top hairline outline-variant; the button size-button-lg |
The bar's views follow the content in reading order; the button's name is the main action's label |
| Compose | The bottomBar slot of Scaffold holding a Row and the kit's OaitButton (filled, lg); hide it while WindowInsets.isImeVisible |
surface; 1dp outline-variant top edge; padding space-3 and space-4 plus the navigation-bar inset; no BottomAppBar, which Material retires (toolbars) |
The same label as the content's main action |
| Android Views | No direct equivalent: a horizontal layout pinned under the scrolling view, padded with the system-bar inset | surface, a 1dp outline-variant divider |
As above |
| Flutter | The bottomNavigationBar slot of Scaffold holding a SafeArea-padded row; hide it while MediaQuery.viewInsetsOf reports a keyboard |
The same tokens | As above |
| React Native | A View after the ScrollView, padded by safe-area-context's SafeAreaView with the bottom edge in additive mode, holding the kit's OaitButton (filled, lg) |
The same tokens; additive adds the inset to the padding (maximum would not) |
As above |
Do and do not in apps:
| Do | Don't |
|---|---|
Draw the bar opaque surface with its hairline. |
Blur content behind the bar, or use the platform's bottom app bar. |
| Add the bottom inset to the bar's padding. | Use the larger of the inset and the padding. |
Site header
In apps: not used in apps. Inventory relevance web_only, confirmed. App screens use the top app bar and the navigation bar, rail, or drawer (D-APP-39). In an installed web app or a hybrid shell the site header stays the chrome of the product's public pages, unchanged, because the web package is the shell's UI (D-APP-57); hybrid shells covers what the shell adds.
What stays identical (Site header): nothing is carried into native screens; in a web shell, all of it.
What changes in an app: none on native screens. In a web shell its sticky position, glass, and safe-area padding stay the web's, and the shell layer adds the standalone rules (D-APP-57, D-APP-58).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Not used: the drawn top app bar | See top app bar | See top app bar |
| Compose | Not used: OaitTopAppBar |
See top app bar | See top app bar |
| Android Views | Not used: MaterialToolbar |
See top app bar | See top app bar |
| Flutter | Not used: AppBar |
See top app bar | See top app bar |
| React Native | Not used: OaitTopAppBar |
See top app bar | See top app bar |
Do and do not in apps:
| Do | Don't |
|---|---|
| Keep the site header on the web pages a shell shows. | Rebuild the 72dp glass header on native app screens. |
Footer
In apps: not used in apps. Inventory relevance web_only, confirmed. A native screen has no footer. What the footer carries moves to one About screen in Settings, built from list rows: the endorsement line, the privacy notice and help links, the licences of the bundled fonts (D-APP-19), and the language setting, which also stays in the app bar (D-APP-47).
What stays identical (Footer):
- The words: "Powered by OAIT at Global University" with the current year in Western digits, and the link names "Privacy notice", "Accessibility", "Get help" where the product has them.
- Links in text are underlined and every row is at least 48dp tall (Accessibility).
What changes in an app:
- Where. Settings, then About, as rows; the endorsement line is the last line of that screen.
- Leaving the app. A row that opens web content (the privacy notice) is a link and shows
north_east; a row that opens another app screen is a button (D-APP-50).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | A List with a Section, web rows as Link |
Rows as the list mapping | Link reports the link role |
| Compose | The kit's OaitListRow in a LazyColumn |
As the list mapping | Role has no link value: a web row's name says where it goes ("Privacy notice, opens in the browser") |
| Android Views | Rows as the list mapping in a RecyclerView |
As the list mapping | A web row's content description says where it goes, as in Compose |
| Flutter | ListTile rows |
As the list mapping | Web rows in Semantics(link: true) (Semantics) |
| React Native | The kit's OaitListRow |
As the list mapping | Web rows role="link", app rows role="button" |
Do and do not in apps:
| Do | Don't |
|---|---|
| Put the endorsement line and the licences on About. | Pin a footer row under app screens. |
Hero
In apps: not used in apps. Inventory relevance web_only, confirmed. App screens have no hero: the screen's title is a plain heading (headline-sm on phones), as the app home pattern says. A signed-out welcome or first-run screen is a pattern of its own, not this component.
What stays identical (Hero): nothing on native screens. A web shell keeps the product's landing page as it is (D-APP-57).
What changes in an app: none. The fluid hero styles (hero-lg, hero-md, lead) are marketing styles; an app screen that ever uses one takes its compact value below 640dp (D-APP-13).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Not used: the screen title as Text |
headline-sm |
isHeader |
| Compose | Not used: Text |
headline-sm |
semantics { heading() } |
| Android Views | Not used: TextView |
headline-sm text appearance |
android:accessibilityHeading="true" |
| Flutter | Not used: Text |
headline-sm |
Semantics(headingLevel: 1) |
| React Native | Not used: Text |
headline-sm |
role="heading" |
Do and do not in apps:
| Do | Don't |
|---|---|
| Open app screens with the plain title. | Put a tonal hero panel, shapes, or moving art on an app screen. |
Section header
In apps: not used in apps. Inventory relevance web_only, confirmed. A section inside an app screen opens with a plain heading in title-lg, as the component page's own When not to use says for app screens.
What stays identical (Section header): the heading's words follow the same rules (a statement or a label, sentence case, no exclamation mark).
What changes in an app: the heading is marked as a heading for assistive technology (D-APP-50); the eyebrow, its rule, the lead, and the fluid hero-md title are not used.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Text |
title-lg, on-surface |
accessibilityAddTraits(_:) isHeader |
| Compose | Text |
title-lg |
Modifier.semantics { heading() } (semantics) |
| Android Views | TextView |
title-lg text appearance |
android:accessibilityHeading="true", or ViewCompat.setAccessibilityHeading |
| Flutter | Text |
title-lg |
Semantics headingLevel: 2; the header flag no longer works on iOS and Android (breaking change) |
| React Native | Text |
title-lg |
role="heading" |
Do and do not in apps:
| Do | Don't |
|---|---|
Use one plain title-lg heading per section. |
Use the eyebrow and the 56dp section title on an app screen. |
Feature card
In apps: not used in apps. Inventory relevance web_only, confirmed. App Home uses the tonal task tiles of the card mapping and the app home pattern; a feature card's sentence-long body belongs to marketing.
What stays identical (Feature card): nothing on native screens.
What changes in an app: none.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Not used: see the card mapping | See card | See card |
| Compose | Not used: the kit's OaitCard as a task tile |
See card | See card |
| Android Views | Not used: see the card mapping | See card | See card |
| Flutter | Not used: see the card mapping | See card | See card |
| React Native | Not used: the kit's OaitCard as a task tile |
See card | See card |
Do and do not in apps:
| Do | Don't |
|---|---|
| Use task tiles for Home's quick actions. | Put a marketing grid of feature cards on Home. |
Stat tile
In apps: used as is. Inventory relevance core_app, confirmed: the component sits under Marketing, but its uses are app screens (console summaries, Games' points and visits, scanner totals). Nothing in its anatomy changes; only how it reflows at large text sizes is said here.
What stays identical (Stat tile):
- Anatomy: the filled card (
surface-container-low,radius-card), the label above the value, the optional 24dp icon and note; tonal only when the number is a status, then always with its icon and word (Anatomy, Variants). - Sizes: at least 112dp tall,
space-cardpadding (space-card-mediumfrom 640dp); valuenumeral-lgwith tabular figures; 2 columns below 640dp, 3 from 640dp, one row from 1024dp; five tiles at most (Sizes). - Data states: skeleton while loading, values change in place with no animation, "0" never an empty tile; not interactive (States).
What changes in an app:
- Large text. Every text scales fully (D-APP-17). When a scaled value no longer fits its column, the grid drops to one column; the value wraps, it never shrinks.
- One element per tile. A screen reader reads "To fix, 3" as one element (D-APP-50).
- Numbers. Tabular figures and a formatter whose locale keeps Western digits (
ar-u-nu-latn, D-APP-23). - Live values. A refresh announces only a significant change, through the screen's status announcement (D-APP-52).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | A LazyVGrid of tiles drawn from VStack and Text |
Fill surface-container-low, radius-card, minimum height 112 (space-28); value numeral-lg with monospacedDigit() |
accessibilityElement(children:) .combine; icon accessibilityHidden(true) |
| Compose | The kit's OaitCard (filled) in a grid |
numeral-lg with TextStyle fontFeatureSettings = "tnum"; the tile tokens above |
Modifier.semantics(mergeDescendants = true); icon contentDescription null |
| Android Views | MaterialCardView |
app:cardBackgroundColor surface-container-low; value android:fontFeatureSettings="tnum" |
android:screenReaderFocusable="true" on the tile (View) |
| Flutter | Card in a grid |
numeral-lg with FontFeature.tabularFigures(); elevation 0 |
MergeSemantics around the tile |
| React Native | The kit's OaitCard (filled) |
numeral-lg with fontVariant: ['tabular-nums'] (text style props) |
accessible on the tile View (View); icon aria-hidden |
Do and do not in apps:
| Do | Don't |
|---|---|
| Reflow to one column at large text sizes. | Cap or shrink the value to keep two columns. |
Steps row
In apps: not used in apps. Inventory relevance web_only, confirmed. The steps row explains "how it works" on a marketing page. A task the person is doing uses the stepper; an in-app explainer at first run would be a pattern of its own.
What stays identical (Steps row): nothing on native screens.
What changes in an app: none.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Not used: see stepper | See stepper | See stepper |
| Compose | Not used: see stepper | See stepper | See stepper |
| Android Views | Not used: see stepper | See stepper | See stepper |
| Flutter | Not used: see stepper | See stepper | See stepper |
| React Native | Not used: see stepper | See stepper | See stepper |
Do and do not in apps:
| Do | Don't |
|---|---|
| Explain a task inside the task, with the stepper. | Put a numbered marketing row of discs on an app screen. |
CTA band
In apps: not used in apps. Inventory relevance web_only, confirmed: the component page already says app screens have no bands. An app screen keeps its one main action in its content (D-APP-02).
What stays identical (CTA band): nothing on native screens.
What changes in an app: none.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Not used | None | None |
| Compose | Not used | None | None |
| Android Views | Not used | None | None |
| Flutter | Not used | None | None |
| React Native | Not used | None | None |
Do and do not in apps:
| Do | Don't |
|---|---|
| Keep app screens calm. | Paint an inverse-surface band on an app screen. |
FAQ
In apps: not used in apps. Inventory relevance web_only, confirmed. In-app help either opens the product's help page as web content (a link, D-APP-50) or lists a few questions as the rows of the accordion mapping.
What stays identical (FAQ): the rules for questions and answers: six at most, one or two sentences each, never a limit or a price hidden in an answer (When not to use, Content).
What changes in an app: the rows are the accordion's; questions are not headings, as on the web.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Not used: DisclosureGroup rows, per the accordion mapping |
See accordion | See accordion |
| Compose | Not used: see the accordion mapping | See accordion | See accordion |
| Android Views | Not used: see the accordion mapping | See accordion | See accordion |
| Flutter | Not used: ExpansionTile rows, per the accordion mapping |
See accordion | See accordion |
| React Native | Not used: see the accordion mapping | See accordion | See accordion |
Do and do not in apps:
| Do | Don't |
|---|---|
| Link to the help page for long answers. | Rebuild the marketing FAQ section in the app. |
Pause control
In apps: not used in apps. Inventory relevance web_only, confirmed. Functional screens have no ambient loops, so nothing needs pausing; status loops that last only as long as their state (the live dot, the viewfinder) keep their words instead. Default: , the My ID card stays calm and no app screen needs this control; if declined, the card's loops stay and this control sits beside the card, as below.
What stays identical (Pause control), if the client call is declined: the 48dp outlined circle on surface-container-lowest, pause then play_arrow, the names "Pause animation" and "Play animation", one control for every loop of its region, hidden under reduced motion (Anatomy, Content).
What changes in an app, if the client call is declined: the choice lives in memory for the session in place of sessionStorage; the system's reduced-motion setting hides the control and stops the loops (D-APP-30).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Only if declined: Button with an outlined circular ButtonStyle |
size-touch-target, radius-full, outline-variant edge, surface-container-lowest fill, on-surface-variant glyph |
accessibilityLabel(_:) "Pause animation" or "Play animation" |
| Compose | Only if declined: the kit's OaitIconButton (outlined) |
The same tokens | contentDescription with the current name |
| Android Views | Only if declined: MaterialButton with an icon-only outlined style |
The same tokens | android:contentDescription |
| Flutter | Only if declined: IconButton |
The same tokens | tooltip with the current name |
| React Native | Only if declined: the kit's OaitIconButton (outlined) |
The same tokens | accessibilityLabel with the current name |
Do and do not in apps:
| Do | Don't |
|---|---|
| Remove a loop from a functional screen. | Add a Pause control to make a looping functional screen acceptable. |
Logo lock-up
In apps: used, adapted. Inventory relevance app_adapt, confirmed. The lock-up appears where an app names itself: the start of a drawn top app bar on a tab root, the sign-in screen, and About. It is not a link in an app: on a tab root it names the product, and Home is the first destination. On iOS it sits in the drawn top app bar exactly as on Android (D-APP-66). The app icon and the launch screen are covered by app identity (D-APP-54, D-APP-55).
What stays identical (Logo lock-up):
- Anatomy: the mark at the inline start, the name in live text, the sub-line "Global University" from 640dp; the gap a quarter of the mark box (Anatomy, Sizes).
- Sizes and type: S below 640dp (
size-mark-sm,lockup-name-compact), M from 640dp (size-mark-md,lockup-name,label-smsub-line) (Sizes). - The two inks (
mark-ink,mark-accent) and the 720 frame; marks are never cropped, recolored, or rebuilt; product names stay Latin, never translated (Behavior, Do and don't).
What changes in an app:
- The mark. Draw it from its master in
assets/app-marks/as a vector asset whose two fills are bound tomark-inkandmark-accent. Where a toolkit cannot bind a vector's fills to theme colors, ship the light and dark masters and choose by theme. - Large text. In the top app bar the name is the bar's title and is capped at 1.3× (D-APP-18); on sign-in and About it scales fully (D-APP-17).
- Language. The name keeps its Latin letters inside Arabic screens; where a stack can tag the reading language of one element, tag it
en. - Right to left. The lock-up follows the layout direction; the artwork never mirrors.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | An HStack of an Image from the asset catalog and Text |
Mark 32 or 40 (size-mark-sm, size-mark-md); name lockup-name-compact or lockup-name, on-surface; sub-line label-sm, on-surface-variant |
The mark accessibilityHidden(true); the lock-up one element named by its words (accessibilityElement(children: .combine)) |
| Compose | A Row of Image (vector resource) and Text |
The same tokens | The mark's contentDescription null; Modifier.semantics(mergeDescendants = true) on the row |
| Android Views | An ImageView with a vector drawable whose android:fillColors name mark-ink and mark-accent, beside a TextView |
The same tokens | The mark importantForAccessibility="no"; the row android:screenReaderFocusable="true" |
| Flutter | A Row of the mark and Text: the mark through a vector package the product chooses, or as raster exports of the light and dark masters in an Image |
The same tokens | The mark in ExcludeSemantics; the row in MergeSemantics |
| React Native | A View of the mark (an SVG package or the light and dark image masters, Image) and Text |
The same tokens | The mark aria-hidden; the name with accessibilityLanguage="en" on iOS (accessibility) |
Do and do not in apps:
| Do | Don't |
|---|---|
| Show the lock-up on a drawn bar's tab roots, on sign-in, and on About. | Put the app's name or lock-up in an iOS navigation bar title. |
| Bind the mark's fills to the two ink tokens. | Tint the whole mark one color, or draw it on orange. |
Language switcher
In apps: used, adapted. Inventory relevance app_adapt, confirmed. The app follows the system language, or the per-app language set in system settings, from the family's three. The in-app switcher stays at the end of the top app bar and in Settings, and writes the per-app language where the platform has that API (D-APP-47). This replaces the web's "a first visit is in English": an app starts in the device's language when it is one of the three, else English.
What stays identical (Language switcher):
- Anatomy: the
translatetrigger, icon-only below 768dp and named "Language: English" ("اللغة: العربية", "Langue : Français"); the list of endonyms in one order (English, العربية, Français), the current one with acheckinprimary-ink; the two-language button keeps its endonym (Anatomy, Sizes). - Tokens of the list:
surface-raised,shadow-elevation-3,radius-box, 48dp rows inbody-lg(Tokens). - The failure message "We couldn’t change the language. Try again." and its Arabic and French (Content).
What changes in an app:
- Where the choice lives. In the account where there is one, and in the platform's per-app language; there is no
oait_localecookie, and separate apps share the choice only through the account. - iOS. On iOS the per-app language is set in the app's page of system Settings (D-APP-47), so the switcher opens that page (
openSettingsURLString). - Direction. Switching between Arabic and another language turns the layout; React Native applies a new direction only after a restart, so the switch says so before it restarts (I18nManager, D-APP-47).
- The list is a menu drawn by the app; where the toolkit's menu is drawn by the system (SwiftUI), the system's check mark stands.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Menu holding a Picker with the menu style, or a Settings row that opens openSettingsURLString |
The trigger's glyph translate from OaitIcons; the system draws the menu |
Trigger accessibilityLabel(_:) "Language: English"; each option's text in its own language |
| Compose | The kit's OaitIconButton as the trigger, with DropdownMenu and DropdownMenuItem; AppCompatDelegate.setApplicationLocales to apply (before Android 13 it needs an AppCompatActivity) |
Menu surface-raised, radius-box, shadow-elevation-3; items size-menu-item, body-lg; the check as trailingIcon in primary-ink |
Trigger contentDescription "Language: English"; the current item semantics { selected = true } |
| Android Views | A trigger button with a PopupMenu; AppCompatDelegate.setApplicationLocales |
Menu background surface-raised; item text appearance from body-lg |
Trigger android:contentDescription "Language: English" |
| Flutter | MenuAnchor with MenuItemButtons; apply through MaterialApp.locale |
The same tokens; the check as trailingIcon |
Trigger tooltip "Language: English"; the current item in Semantics(selected: true) |
| React Native | The kit's OaitIconButton with a list in a Modal (React Native has no menu control); a direction change goes through I18nManager.forceRTL and a restart |
The same tokens | Trigger accessibilityLabel "Language: English"; options role="button" with accessibilityState={{ selected }} |
Do and do not in apps:
| Do | Don't |
|---|---|
| Start in the device's language when it is English, Arabic, or French. | Force English at first launch. |
| Say before a restart that the app will restart. | Restart without warning to change direction. |
Theme toggle
In apps: used, adapted. Inventory relevance app_adapt, confirmed. "Appearance: System / Light / Dark" stays a segmented button in Settings, only in an app whose dark review has passed; until then the app forces light the system's own way and shows no Appearance setting (D-APP-27).
What stays identical (Theme toggle):
- Anatomy and words: the visible label "Appearance" and the three segments "System", "Light", "Dark" in that order, "System" first and the default, the chosen one in
primary-containerwith itscheck(Anatomy, Content). - The header toggle is for web headers of products that ship a dark theme (D-CSN-56); an app keeps "Appearance" in its settings (When to use).
What changes in an app:
- Where the choice lives. In the account or the app's own storage, and it is applied through the platform's appearance override, never by swapping colors by hand.
- System bars. The status bar's icons follow the theme in effect (D-APP-35).
- Haptics. Changing the segment may play the selection tick (D-APP-31).
- Motion. The theme changes at once; no animation of the screen's colors.
- Light-only apps. Force light in the app's configuration, so the system's dark setting never shows unreviewed values; Android 16 may still invert a light-only app, one more reason to finish the dark review (D-APP-27).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Picker with the segmented style; apply with preferredColorScheme(_:); light-only apps set UIUserInterfaceStyle to Light |
tint(_:) primary-ink; the system draws the segments |
The picker's label "Appearance"; selection tick with sensoryFeedback(_:trigger:) .selection |
| Compose | SingleChoiceSegmentedButtonRow with SegmentedButtons (no kit component in 1.1.0); apply with AppCompatDelegate.setDefaultNightMode MODE_NIGHT_FOLLOW_SYSTEM, MODE_NIGHT_NO, MODE_NIGHT_YES, and pick OaitTheme's scheme from the same choice |
Segments size-button-md, label-lg; group edge outline; chosen primary-container with on-primary-container and the check; radius-full group |
Each segment's text is its name, with its selected state; HapticFeedbackType SegmentTick on change |
| Android Views | MaterialButtonToggleGroup with singleSelection and selectionRequired; apply with AppCompatDelegate.setDefaultNightMode |
The same tokens through the button styles | Button text is the name; checked state read by TalkBack |
| Flutter | SegmentedButton with three ButtonSegments; apply with MaterialApp.themeMode (ThemeMode system, light, dark) |
The same tokens; showSelectedIcon true with the check glyph |
Each segment's label is its name; HapticFeedback.selectionClick on change |
| React Native | No kit component and no core segmented control: compose three Pressables in a View; apply with Appearance.setColorScheme 'auto', 'light', or 'dark' |
The same tokens | Each segment role="button" with accessibilityState={{ selected }}; the group named "Appearance" by its visible label |
Do and do not in apps:
| Do | Don't |
|---|---|
| Force light in configuration until the dark review passes. | Follow the system's dark setting with unreviewed screens. |
| Apply the choice through the platform's appearance override. | Repaint the app's colors without telling the system. |
Platform strip
In apps: not used in apps. Inventory relevance web_only, confirmed: the component is oait.app's showcase picker. An app that lists the family's products uses the "Your apps" rows of the app home pattern, with size-mark-md marks and names, and north_east when the row leaves the product.
What stays identical (Platform strip): the family's order of products, when an app lists them.
What changes in an app: none on native screens. Whether a "Your apps" row opens the other product's installed app or its web address is the product's decision (D-APP-04).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Not used: "Your apps" rows, per the list mapping | See list | See list |
| Compose | Not used: the kit's OaitListRow |
See list | See list |
| Android Views | Not used: see the list mapping | See list | See list |
| Flutter | Not used: see the list mapping | See list | See list |
| React Native | Not used: the kit's OaitListRow |
See list | See list |
Do and do not in apps:
| Do | Don't |
|---|---|
| Name each product beside its mark. | Use mark-only toggle tiles as app navigation. |
ID card
In apps: product art. Inventory relevance signature, confirmed. Global ID draws the card from its component page; no toolkit control resembles it. My ID in an app is the same card, calm, flipped by a tap.
What stays identical (ID card):
- Geometry: aspect 1.586; every interior size a fraction of the card's width (the page's cqw values become fractions of the measured width); corners 5.5% of the width;
shadow-art. - Faces: the English front left to right and the Arabic back right to left on every screen language, the person-type gradients (
cat-<hue>-from,-mid,-to) and back tints, the facts in mono in left-to-right isolates, the seal, the chip (Anatomy, Variants). - Behavior: the flip over
duration-extra-long-3onease-spring; the sheen once on appearing and after each flip; the hidden face hidden from assistive technology at once, never after the animation; the flip button named by the side it would show (Behavior, Accessibility).
What changes in an app:
- Text does not scale inside the art (D-APP-18). The name, type, and Global ID number are also shown as scalable text on the screen and are the card's accessible content.
- Touch. The whole card is the flip target; the pressed layer of the side's ink shows inside the card's corners. The "Side of the card" segmented button and the hint above the card stay, as on the web.
- 3D turn. The platform's rotation about the vertical axis with a perspective that matches the web's 1600px; on Android the camera distance sets it.
- Spring.
ease-springovershoots; iOS uses a timing curve, never UIKit's cubic timing (D-APP-16). - Reduced motion. The faces swap at once and the sheen does not run (D-APP-30).
- Not covered. Screenshot policy and wallet passes are product decisions (D-APP-01); printing does not apply.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | A custom view with rotation3DEffect(_:axis:anchor:anchorZ:perspective:), LinearGradient faces, and each face's layoutDirection set |
Gradient stops at 0, 58, and 100% at 135°; shadow-art drawn per layer (D-APP-15); flip with timingCurve(_:_:_:_:duration:) from ease-spring over duration-extra-long-3 |
The hidden face accessibilityHidden(_:); the flip Button named "Show the Arabic side" or "Show the English side" |
| Compose | A custom composable with graphicsLayer rotationY and cameraDistance, faces painted with Brush.linearGradient, each face under its own LocalLayoutDirection |
The same tokens; the turn with animateFloatAsState and a CubicBezierEasing from ease-spring |
The hidden face clearAndSetSemantics {}; the flip button's label; decoration contentDescription null |
| Android Views | A custom view; the turn with View.setRotationY and setCameraDistance; faces with GradientDrawable and android:layoutDirection per face |
android:angle of the gradient; the same tokens |
The hidden face importantForAccessibility="noHideDescendants" |
| Flutter | A custom widget: Transform with Matrix4.rotationY and a perspective entry, faces with LinearGradient, each under its own Directionality |
The same tokens | The hidden face in ExcludeSemantics; the flip button's Semantics(button: true, label:) |
| React Native | A custom component: transform with perspective and rotateY; faces with their own direction and a backgroundImage linear-gradient() |
The same tokens | The hidden face aria-hidden; the flip Pressable role="button" with the side's name |
Do and do not in apps:
| Do | Don't |
|---|---|
| Repeat the card's facts as scalable text on the screen. | Let the card's art text be the only place the name and number appear. |
| Keep the turn a spring, and instant under reduced motion. | Use the platform's default card flip or a cube transition. |
QR pass
In apps: product art. Inventory relevance signature, confirmed. Global ID draws the pass from its component page with a native QR renderer. Screen brightness, keeping the screen awake, what the pass shows offline, and the 30-second rotation as essential timing are product rules for Global ID; the family rules that apply are D-APP-18 (the pass's art does not scale, its content is repeated as scalable text), D-APP-31 (haptics only for accepted and refused) and D-APP-48 (timing).
What stays identical (QR pass):
- The panel:
radius-hero, the 160° gradient of the orange card-art stops,shadow-art,on-card-arttext; the same in both themes (Anatomy, Tokens). - The code: the 236dp white tile, the 208dp code at error correction Q, round modules and rounded finders in the card-art oranges, the University mark at the center, always left to right (Sizes, RTL and languages).
- States and words: Ready, folded, loading, failed, the clock warning, "Ready to scan", "New code every 30 seconds", Hide, Show, Try again, and their Arabic and French (States, Content).
What changes in an app:
- Fixed geometry. The pass is art with fixed geometry: its text does not scale (D-APP-18). The person's name, type, and number are repeated as scalable text on Home and My ID, and the panel's facts are its accessible content.
- Loops. The live dot, the breathing corners, and the draining ring are status loops: they run only while the pass is ready and stop under reduced motion, with the words left in place (D-APP-30).
- Buttons on the art. Hide and Try again are the on-art button (
on-card-artfill,on-primarylabel,shadow-elevation-1); the 1.1.0 kits have no on-art variant, so the product draws it from the button page. - The ring is not announced each second; the caption says what it shows.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Canvas for the modules, fed by the product's QR encoder |
Tokens above; the code tile radius-28px, shadow-elevation-1 |
The code accessibilityLabel(_:) "Your Global ID scan code" with isImage; dot, corners, and ring hidden |
| Compose | Canvas for the modules |
The same tokens | Canvas contentDescription "Your Global ID scan code"; decoration hidden; the failed state's words in a liveRegion |
| Android Views | A custom view that draws the modules | The same tokens | android:contentDescription on the code view; android:accessibilityLiveRegion on the status |
| Flutter | CustomPaint with a CustomPainter for the modules |
The same tokens | The code in Semantics(image: true, label:); the status in Semantics(liveRegion: true) |
| React Native | No vector drawing component in React Native core: an SVG package the product chooses | The same tokens | The code role="img" with accessibilityLabel; the status accessibilityLiveRegion="polite" on Android, AccessibilityInfo.announceForAccessibility on iOS (D-APP-52) |
Do and do not in apps:
| Do | Don't |
|---|---|
| Keep the code tile left to right on Arabic screens. | Mirror the code or let the layout direction reach it. |
| Stop the status loops under reduced motion, leaving the words. | Run the ring as the only sign the code is current. |
Passport card
In apps: product art. Inventory relevance signature, confirmed. The passport card is marketing art; in an app it appears only as a still card where the product itself is the subject (an app switcher, a share image). No functional screen shows a moving stack.
What stays identical (Passport card):
- Geometry, gradients, and words: aspect 1.586, 5.5% corners, the product's gradient at 135° (225° in right to left) with stops at 0, 58, and 100%, dark ink on the gold Jobs card, the category and address facts (Anatomy, Variants, Content).
- The card is art: hidden from assistive technology, with one sentence beside it that says what it shows (Accessibility).
What changes in an app:
- Still only. No float, sheen, seal turn, swap, or tilt; there is no pointer to tilt with.
- Text inside the card does not scale (D-APP-18); the sentence beside it does.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | A custom view with LinearGradient |
passport-<product>-from, -mid, -to; shadow-art |
The card accessibilityHidden(true); the sentence as Text |
| Compose | Box with a Brush.linearGradient background |
The same tokens | The card clearAndSetSemantics {} |
| Android Views | A view with a GradientDrawable background |
The same tokens | importantForAccessibility="noHideDescendants" |
| Flutter | DecoratedBox with a LinearGradient |
The same tokens | ExcludeSemantics |
| React Native | A View with a backgroundImage linear-gradient() |
The same tokens | aria-hidden |
Do and do not in apps:
| Do | Don't |
|---|---|
| Show one still card where the product is the subject. | Put the card stack on sign-in, Home, or Settings. |
Job card
In apps: product art. Inventory relevance signature, confirmed. Global Jobs builds the card from the kit's card and icon button and the job card page; nothing in it is a toolkit control of its own.
What stays identical (Job card):
- Anatomy: the outlined card (
card-outlined-container,outline-variant,radius-card), the organization avatar, the company line with the verified mark, the title, the meta line, the salary, the footer with when it was posted and the deadline in the warning ink withschedule(Anatomy, Variants). - Behavior: the whole card opens the job; the save toggle sits above it and never opens it; "Job saved" and "Removed from saved jobs" confirm in a snackbar; relative dates and the deadline countdown (Behavior, Content).
- Names: the toggle "Save job: {title}"; the hidden "Verified employer" (Accessibility, Content).
What changes in an app:
- Touch. No hover shadow; a press shows the 12% layer over the card. The toggle is its own 48dp target.
- One element plus an action. The card reads as one element (company, title, place, salary, deadline) and also offers "Save job" as a custom accessibility action, so a screen-reader user need not find the toggle; the toggle stays a separate element too (D-APP-50).
- Roles. Opening the job is in-app navigation, so the card is a button (D-APP-50).
- Language. A posting in another language reads in its own language where the stack can tag it; its direction is the posting's.
- Share is the system share sheet (D-APP-41).
- Dates come from the platform's relative-date and plural formatters, with Western digits (D-APP-23).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | A custom card in a List or LazyVStack, with a Button for the card and one for the toggle; ShareLink on the detail screen |
Card tokens above; toggle 48dp, bookmark filled when saved |
accessibilityElement(children: .combine) on the card; accessibilityAction(named:_:) "Save job"; the toggle's isSelected when saved |
| Compose | The kit's OaitCard (outlined, pressable) with the kit's OaitIconButton toggle |
The card mapping's tokens | customActions in the card's semantics, holding a CustomAccessibilityAction labeled "Save job"; the toggle's contentDescription "Save job: {title}" |
| Android Views | MaterialCardView with a checkable icon button |
app:strokeColor outline-variant; the card tokens |
ViewCompat.addAccessibilityAction "Save job" on the card |
| Flutter | Card with an InkWell and an IconButton (isSelected for the toggle) |
The card tokens; elevation 0 |
Semantics(customSemanticsActions:) with a CustomSemanticsAction "Save job" |
| React Native | The kit's OaitCard (outlined, pressable) with the kit's OaitIconButton; Share on the detail screen |
The card tokens | accessibilityActions={[{ name: 'save', label: 'Save job' }]} with onAccessibilityAction; the toggle accessibilityState={{ selected }} (accessibility) |
Do and do not in apps:
| Do | Don't |
|---|---|
| Offer "Save job" as an accessibility action on the card. | Make the toggle reachable only by exploring inside the card. |
| Share through the system sheet. | Copy the link instead of sharing, as the site does today. |
Game tiles
In apps: product art. Inventory relevance signature, confirmed. Global Games builds the passport score, the leaderboard, and the booth cards from its component page, using the kit's card, linear progress bar, and list row, and the stat tile mapping above.
What stays identical (Game tiles):
- Anatomy: the passport score on
primary-containerwith the avatar, the rank chip, one score with its unit in words, the progress bar, and the visits line; the stat tiles; the leaderboard's 72dp rank rows (size-list-row-two-line) with aligned columns; the booth cards as disclosure rows with at most one button (Anatomy). - Rules: only staff record visits; a refresh never moves focus or scrolls; the unit "points" beside every score; "+2" isolated left to right (Behavior, Content, Do and don't).
What changes in an app:
- Live refresh. When a visit is confirmed the screen updates in place and announces the change once (D-APP-52).
- Pull to refresh on the passport and the leaderboard, with a visible Refresh action (D-APP-44).
- Booth cards are the rows of the accordion mapping.
- The score uses
hero-lg, a fluid style: below 640dp it takes the compact size (D-APP-13), and it scales with the user's setting (D-APP-17). - Characters are vector assets drawn from
assets/characters/; a chosen character is named once, where it stands for the visitor. - Haptics. A confirmed visit on the visitor's screen takes none: the success haptic belongs to the staff scanner's accepted scan (D-APP-31).
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Custom views in a ScrollView or List; refreshable(action:) |
Tokens of the page; score hero-lg compact |
The progress bar's accessibilityValue(_:) "3 of 4 possible points"; rank rows accessibilityElement(children: .combine) |
| Compose | Custom composables in a LazyColumn, with the kit's OaitCard, its linear progress bar (D-APP-62 Progress), and OaitListRow; PullToRefreshBox |
The same tokens | The update announced through a LiveRegionMode.Polite region; rows mergeDescendants |
| Android Views | Custom views in a RecyclerView; SwipeRefreshLayout |
The same tokens | android:accessibilityLiveRegion="polite" on the score |
| Flutter | Custom widgets in a ListView; RefreshIndicator |
The same tokens | The score in Semantics(liveRegion: true); rows in MergeSemantics |
| React Native | Custom views in a FlatList with the kit's OaitCard, OaitLinearProgress, and OaitListRow; RefreshControl |
The same tokens | accessibilityLiveRegion="polite" (Android) and announceForAccessibility (iOS) for the update |
Do and do not in apps:
| Do | Don't |
|---|---|
| Announce a confirmed visit once. | Move focus or scroll when the leaderboard refreshes. |
Stage
In apps: not used in apps. Inventory relevance signature; the component page shows it is not a phone or tablet surface. The public stage is a web page on a projector or wall screen and stays one; a visitor's app shows the game tiles leaderboard instead. If a product ever ships the stage as a native wall-screen app, it is one of the screens that may lock its orientation (D-APP-38), and it has no navigation chrome (D-APP-39).
What stays identical (Stage): the stage page itself, unchanged, wherever it runs.
What changes in an app: none.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Not used | None | None |
| Compose | Not used | None | None |
| Android Views | Not used | None | None |
| Flutter | Not used | None | None |
| React Native | Not used | None | None |
Do and do not in apps:
| Do | Don't |
|---|---|
| Show the leaderboard rows on phones. | Scale the 1920×1080 artboard into a phone screen. |
Result card
In apps: product art. Inventory relevance signature, confirmed. Tamakkan builds its result summary and HBDI result from the component page, with the kit's card; the radar is drawn on a canvas.
What stays identical (Result card):
- Anatomy: the ranked summary rows with rank discs and
numeral-mdscores inprimary-ink; the dominant-style block in flatprimary; the radar oncard-outlined-container; four lettered score cards in A, B, C, D order; recommended majors with the quadrant's edge on the inline start (Anatomy). - Rules: every quadrant lettered and named everywhere; every radar value repeated as a number; no badge and no majors until the assessment is finished.
What changes in an app:
- The accent is Tamakkan's build-time accent, not a runtime attribute (D-APP-09).
- The radar is drawn on a canvas and named with its four scores; the score cards repeat them as text.
- "Download results" saves through the system's file save or share sheet (D-APP-41).
- Right to left. The cards mirror; the radar's axes do not move, so A stays at the top.
| Stack | Start from | Defaults to override (token) | Accessibility |
|---|---|---|---|
| SwiftUI | Canvas for the radar; ShareLink for the download |
Rings and axes outline-variant; the shape on-surface-variant, 2dp; points in their chart hues |
accessibilityChartDescriptor(_:) and the label "Your four scores on a radar: A Analytical 31, …" |
| Compose | Canvas for the radar; the kit's OaitCard |
The same tokens | Canvas contentDescription with the four scores |
| Android Views | A custom view that draws the radar | The same tokens | android:contentDescription with the four scores |
| Flutter | CustomPaint for the radar |
The same tokens | Semantics(label:), or the painter's semanticsBuilder |
| React Native | An SVG package the product chooses for the radar; the kit's OaitCard; Share for the download |
The same tokens | role="img" with accessibilityLabel holding the four scores |
Do and do not in apps:
| Do | Don't |
|---|---|
| Name the radar with its four scores. | Leave the canvas without a name. |