GlassPanel
Frosted-glass container for content zones that sit above the ambient star field. Three layers build the glass without a drop shadow (the brand forbids shadows — lift comes from light, not depth):
Fill — the tint. Pass a LOW-ALPHA value (e.g. 6–9% white) so the star field shows faintly through; that translucency is the "frost".
Sheen — a top-edge highlight gradient (sheen) fading to transparent, the specular cue that reads as glass. On by default; pass
falsefor a plain tinted panel.Edge — a 1dp border hairline (LightFaint) defining the rim.
Not a true backdrop blur (Compose has no built-in equivalent of CSS backdrop-filter). On the near-black star field the translucent fill + sheen reads as frost; a real Gaussian backdrop blur would need a capture pass (graphicsLayer + render-effect) or a dedicated library.
Parameters
fill color — pass a low-alpha value so stars show through. An opaque value still works (no frost, just a flat lifted panel).
hairline color — palette LightFaint, or Color.Transparent to drop it.
draw the top specular highlight. Default true.
default radius-md (12dp).
inner padding. Defaults to space-16.