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.
When to use
Detail pages on windows narrower than 1024px whose main action sits in the side pane on wider windows: Global Jobs' job page and its "Apply now" (canonical §11 template 5, §10.29, D-CSN-50).
Long pages on phones whose one main button has scrolled out of view, when people need it while they read (a long offer, a long form summary).
When not to use
Never on a screen with a navigation bar: two bottom bars stack and hide content (canonical §10.29). In an app shell, keep the main action in the content.
Never from 1024px: there the side pane or the content carries the main action.
Not for several actions or a toolbar: it holds one filled button. Secondary actions (Save, Share, Report) stay in the page.
Not for transient messages: use the snackbar. Not for a form's submit inside a sheet or dialog: those have their own action rows (bottom sheet, dialog).
Anatomy
Bar (oa-action-bar): sticky at the bottom, the glass, a 1px top edge, the bottom safe-area inset.
Summary (oa-action-bar__summary): 2a the title (oa-action-bar__title), one line, truncated; 2b the supporting line (oa-action-bar__supporting).
Main button: one filled lg button (oa-btn oa-btn--filled oa-btn--lg).
Variants
Variant
Use for
Key tokens
Aside replacement
a detail page whose main action lives in the side pane from 1024px: the bar shows at every scroll position below 1024px, and the pane's own button is hidden there
--color-surface at 80%, --color-outline-variant, --z-sticky
Scrolled-away action
a long page whose main button sits in the content: the bar appears only while that button is out of view
the same
Sizes
Part
Height
Padding
Type style
Icon
Bar
81px plus the bottom inset (12 + 56 + 12 + the 1px edge)
12px above, 12px plus the bottom inset below, 16px at the sides; 12px between summary and button
—
—
Title
one line
—
title-md
—
Supporting line
one line
—
body-md
—
Main button
56px (--size-button-lg)
28px inline
label-lg
none (a commit carries no arrow, D-CAI-05)
Tokens
Part
Property
Token
Bar
fill
--color-surface at 80% (bg-surface/80) with a 24px backdrop blur (backdrop-blur-xl); opaque --color-surface without blur support, under reduced transparency, and in forced colors (Canvas)
Bar
top edge
1px --color-outline-variant
Bar
layer
--z-sticky (z-20), under the site header (--z-header)
Bar
padding, gap
--space-3, --space-4
Page
scroll padding
--size-scroll-offset (96px) plus the bottom inset, below 1024px
Title
text
--color-on-surface, --text-title-md
Supporting line
text
--color-on-surface-variant, --text-body-md
Main button
fill, label
--color-primary, --color-on-primary
States
State
Bar
Main button
At rest
the glass over the content scrolling under it; no shadow at any scroll position (D-CSN-50)
the hidden attribute while the content's own main button is in view (scrolled-away variant)
—
Short window
static at the end of the content (max-height: 30rem)
—
1024px and wider
not shown
—
Loading
—
aria-busy="true" with aria-disabled="true", a spinner, and words ("Sending…"); width locked (canonical §10.0)
Behavior
Position. Sticky to the bottom of the window on the sticky layer, below 1024px only; it turns static on short windows (landscape phones, 200–400% zoom), where sticky chrome would cover the content (D-LAY-17). Put it as the last child of a full-width parent, after the page frame, so the glass runs from edge to edge; that parent pads the side safe-area insets.
Scroll padding. While the bar can show, the page keeps scroll-padding-bottom of --size-scroll-offset (96px) plus the bottom inset: the bar is 81px tall plus the inset, so a focused field stops about 16px above it and anchors are never hidden behind it (canonical §4.10; the reference CSS sets it with :has()).
Aside replacement. Below 1024px hide the aside's filled button (it would be the second orange fill on the screen) and show the bar; from 1024px the bar hides itself and the aside shows its button (canonical §11 template 5).
Scrolled-away action. Watch the content's main button with an IntersectionObserver: set hidden on the bar while that button is visible and remove it when the button leaves the window, so only one filled button is ever in view. No slide or fade: the bar appears and goes at once.
Truncation. The title and the supporting line stay on one line each and end with an ellipsis; the full title is the page's h1 (canonical §3.8 allows truncating user data when the full value is on the page).
Accessibility
Element. A plain container in the page flow, not a landmark and not a dialog; the button is the same action as the page's main action, with the same label ("Apply now").
Order. Put the bar where it sits in the reading order (at the end of the content it follows), so the Tab order matches what people see.
Targets. The main button is 56px tall (canonical §13: 56px for the main action).
Focus is never hidden. The scroll padding keeps a focused field above the bar (WCAG 2.4.11).
Contrast.on-surface and on-surface-variant on the glass keep their contrast over any content, as the header's glass does (canonical §2.13); on-primary on the orange fill 6.19:1.
Reduced transparency and forced colors. The bar turns opaque.
RTL and languages
The summary sits at the inline start (the right in Arabic) and the button at the inline end.
The title and the supporting line are user content: write dir="auto" on them, so a Latin job title inside an Arabic page keeps its own direction and its ellipsis falls at its end; the reference CSS keeps them aligned with the page (text-align: match-parent) (canonical §14.2).
Arabic labels keep their 1.75 line height inside the 56px button. The Arabic "Apply now" in the reference snippet, "قدّم الآن", needs native review.
Content
Title: the object of the action, as the page names it: the job title ("Frontend Developer (React)").
Supporting line: who or where: the organization ("Byblos Digital Studio (Demo)").
Button: the page's main action, verb first, the same words as everywhere: "Apply now". No arrow on a commit.
Do and don't
Do
Don't
Keep one filled lg button and a one-line summary.
Add Save, Share, or a second filled button to the bar.
Hide the aside's filled button below 1024px.
Show two orange buttons on one phone screen.
Use the glass with a hairline top edge.
Cast a shadow upward or tint the bar.
Turn it static on short windows.
Keep it fixed in landscape, where it covers the content.
Use it on detail pages without a navigation bar.
Stack it above an app's navigation bar.
Code
HTML (reference CSS)
The kitchen sink shows this markup with the documentation-only oa-action-bar--demo, which keeps it in the flow and visible at every width; a product leaves it out.