core::liquid_glass

Structs

LiquidGlass

Applies an Apple liquid-glass native effect to supported descendant native surfaces.

Properties

enabled

Type: Property<bool>

Whether this liquid-glass scope is active. When false, descendants opt out.

spacing

Type: Property<Size>

Desired spacing between grouped glass surfaces, in Pax units.

interactive

Type: Property<bool>

Whether supported Apple glass surfaces should use the interactive effect.

tint

Type: Property<Option<Color>>

Optional tint for supported Apple glass surfaces.

variant

Type: Property<String>

Apple glass style. Supported values are currently "regular" and "clear".