Skip to content
Effects / Glass / Shaders

NoiseOverlay

client21 kB
@stellaria/nebula-webNoiseOverlayProps

Preview

Props

4
PropTypeDefault

className

string

—

fixed

Pins the grain to the viewport instead of the region around it, which is what a page-wide film needs — one fixed layer rather than one per section.

booleanfalse

opacity

How strong the grain is. Left out it takes the theme's `effects.glass.noiseOpacity`; with the theme's glass off it is forced to zero whatever you pass here, so this cannot bring the texture back on a theme that has turned effects down.

number

—

zIndex

Where the layer sits in the stack. Left out it takes its turn among its siblings, which puts it over everything declared before it and under everything after.

number

—

Also accepts

On top of its own props, this component forwards these groups.

Style props · 127