Material presets change the mix of frost, tint, and lens geometry. Choose a starting material based on how much detail needs to remain visible through the surface, then set the overrides your layout requires.
Start with a surface role
| Preset | Shipped blur | Where to try it |
|---|---|---|
clear |
2 px | A decorative lens or a small control over a carefully chosen scene |
thin |
6 px | A floating toolbar with backed labels |
regular |
14 px | A panel whose text needs some separation |
thick |
22 px | A sheet sitting over complex content |
ultra |
30 px | An overlay that needs heavy visual separation |
adaptive |
12 px | A surface where the appearance calls for adaptive tint behavior |
These values are the preset blur settings in version 0.2.0. An explicit property wins over the preset. For example, material: 'thin' with blur: 9 keeps the thin defaults for the other configured properties and sets blur to nine pixels.
Compare over two difficult backdrops
Start with a bright photo and a dark striped texture. If small text is hard to read, improve the contrast layer behind the text and then revisit the material. If the rim gets noisy, lower chromaticAberration or refractionStrength a small amount and repeat the check.
Set appearance: 'dark' for a consistently dark backdrop even when the rest of the app uses a light theme. The appearance setting describes the material's background. Leave it on auto when following the system color scheme suits the surface. Compare settings in the playground and see all the options in the material reference.