Skip to main content

Module material

Module material 

Source

Structs§

MaterialProps
Props for the Material component.

Enums§

MaterialCorners
Corner treatment for the surface root.
MaterialElevation
Orbital elevation tier mapped to shadow CSS variables.
MaterialOutlineEdge
Shell edge outline applied at [MaterialElevation::Flat] for co-planar regions.
MaterialVariant
Orbital material treatment for a surface root.

Functions§

Material
Orbital surface container with material variant, elevation, and corner treatment.
material_flat_outline_modifier
Outline edge modifier for Flat shell chrome, or empty when elevated / already outlined.
material_modifier_classes
material_styles
Compiled material surface stylesheet and stable BEM class names.