GPUI MaterialClose

Design sources

English | 中文

Last synced on 2026-11-13. Pinned sources include Material site snapshots, published source packages, algorithm references, and the GPUI version pairing. Propose any Material specification version update through the contribution process. After maintainers approve adoption, update this page and the affected specifications.

Source precedence

  1. Material 3 Expressive and applicable M3 guidance define component names, structure, variants, and visual and interaction semantics.
  2. Pinned Compose Material 3 serves as the implementation reference for tokens, states, defaults, and layout.
  3. Official Material Color Utilities and AndroidX graphics-shapes serve as the algorithm and geometry references.
  4. Pinned GPUI and gpui-base define desktop event, drawing, and platform boundaries. Document desktop adaptations and their rationale in the owning specification.
  5. Pinned Material Components Android supplements implementation references such as Side Sheet and Docked Toolbar, including deprecation and replacement guidance. Material Web provides historical context.

Resolve differences by using pinned public guidance for scope and pinned sources for implementation details. Document accepted desktop adaptations and replacement interactions in the relevant component or architecture documentation.

Material specification

The site directory and component Overview, Specs, Guidelines, and Accessibility tabs are pinned to data version 2026-10-13_06-10-19. The snapshot index records the pinned JSON URLs and SHA-256 checksums by page. Embedded token tables come from the same release; regenerate checked-in token outputs whenever the source data changes.

Area Scope Official entry point
Tokens Reference, System, and Component layers, with traceable original names and Rust fields. Design tokens
Color Static light and dark colors, role pairs, brand and dynamic seeds, contrast, and fixed roles. Color roles, Dynamic color
Typography Baseline and emphasized roles, weight, line height, tracking, and overridable font fallback. Typography
Shape Corner scale, state shapes, the 35 Expressive rounded polygons, custom rounded polygons, general morphing, geometric clipping, and shape-aware hit testing. Shape, Shape morph
Motion Standard and Expressive schemes, distinguishing spatial motion from effects such as color and opacity, with retargeting and reduced motion. Motion
Elevation Surface roles, tonal elevation, shadow, and scrim across light and dark modes. Elevation
Interaction Hover, focus-visible, pressed, dragged, disabled, and component value states. States, Inputs
Layout Available window size, density, RTL, font scaling, and visual and hit areas. Breakpoints, RTL
Accessibility Names, roles, values, states, actions, relationships, announcements, and platform bridges. Assistive technology

Source code and algorithm references

Source Pinned version or revision Checksum or reference
Compose Material 3 common androidx.compose.material3:material3:1.5.0-rc01 Google Maven source package · 38e0515354240bf1e15b6e8891bc02608973f08dc0b8da8cd87a51dfe9ab1031
Compose Material 3 Android androidx.compose.material3:material3-android:1.5.0-rc01 Google Maven source package · 0e9c5b37e75203b44b4987b3ccc0db41637303103ca21739691d7533cbe7cbb1
Adaptive Navigation Suite androidx.compose.material3:material3-adaptive-navigation-suite:1.5.0-rc01 Google Maven source package · fdbc86bff0c7f9f4ca8fdf9097515297af39200f65a82129d269f4a4fe11de64
Adaptive Layout androidx.compose.material3.adaptive:adaptive-layout:1.3.0 Google Maven source package · bd87db4bdbf51d7df02872b0c7e95ae82a3b7c61b7f2e021c407d30a899c22ca
Adaptive Navigation androidx.compose.material3.adaptive:adaptive-navigation:1.3.0 Google Maven source package · c64c0ddec14fed5daae373c535c8e81e1f0ef1922aa258b624828448de18346d
AndroidX graphics-shapes androidx.graphics:graphics-shapes:1.1.0, release change range ends at cb163bee53214245ad7a23367396a21b7f85ae82 Google Maven source package · 50586aa6c7b3a542a51b2abaf659f7a6c33d8c5d637d8f1a57aaf518dcb74f3d · Tests at the same revision
Google Material Color Utilities 194144d75ed7d34f06264a625e086db81a7ab9aa typescript/hct/hct_test.ts, typescript/scheme/dynamic_scheme_test.ts, typescript/dynamiccolor/{dynamic_color,fixed_dynamic_color}_test.ts, dart/test/{contrast,palettes}_test.dart
Material Components Android 66b0eeb53afeb6025ffbbd37734b08e5bce197ed docs/components/ and corresponding Java sources
Material Symbols 10ecc14790612ca8fd164e3f4ffe9c16fc50d5b7 symbols/ (bundled icons, styles, axes, and licenses recorded in the asset manifests)

The Compose release notes list stable 1.4.0 and release candidate 1.5.0-rc01; the latter’s source package supplies the Expressive reference, with a change range ending at 1f549b6f5ba84cb3553be9c79110c4c5f6413039. Locate sources by versioned packages and checksums. Adaptive release notes · graphics-shapes release notes

Geometry and color algorithms are cross-checked against the pinned upstream suites in foundation shape (adapted from AndroidX MorphTest and RoundedPolygonTest) and theme color reference (adapted from Material Color Utilities).

GPUI and Base

GPUI Kit v0.10.0 and the crates.io gpui-base metadata both point to f697c3133d55c64fa8a5b67926147fb3dadd276d. The pinned workspace manifest and release package metadata establish the versions below.

Cargo package Exact version crates.io SHA-256
gpui-base =0.10.0 4f4e5aff50636223b268a687ad5788ec54fa77c8e57ca9e53d158f19e0425d95
gpui-pre (Rust import gpui) =0.3.12 29db89613527079737f53752eab27fb65c9a7dd94979256c65a0e590c9fd34d8
gpui-pre-platform (Rust import gpui_platform) =0.3.12 d2b785bdcbd229f762096aebf4f9ae913bdaa9db49794907cabaf516eb55227b

Both gpui-pre packages set package.metadata.gpui-pre.zed-rev to d2a4fb6ded7c470be25d1541281da3882495b65b. Use exact versions from the same upstream source so Cargo resolves a single GPUI core and platform package identity. In this Base version, Theme implements app Global. GPUI Kit Actions · Theme access in theme.rs

Close