Skip to main content

PRESSED_OPACITY

Constant PRESSED_OPACITY 

Source
pub const PRESSED_OPACITY: f32 = 0.10 /* 0.100000001f32 */;
Expand description

Pressed-state overlay opacity (source: androidx Compose Material3 StateTokens v0_210, retrieved 2026-07-17 — supersedes material-web v0.192’s 12%).

Lives here, not with the rest of the M3 state-layer table, because it is the one interaction opacity a language-neutral widget needs: a press overlay is a mechanism (how a control acknowledges a touch), not a Material design decision. A design system’s own state-layer table is free to differ; this is the value the baseline widgets and the built-in catalogs share.