Mediaexperimental
Quartz
Film grain overlay
Film grain over anything, from one tile painted once and repeated by CSS.
Grain
One tile, painted once and repeated by CSS.
Customize
Grainone tile, painted once and repeated by CSS
0.35
intensity128 px
scale1.00
speed0.00
colourblend1
seedUsage
<Quartz>
<Hero />
</Quartz>Generated from the controls above. Only props that differ from their defaults are shown.
Props
| Property | Type | Default | Description |
|---|---|---|---|
intensity | number | 0.35 | Intensity. Range 0 to 1. |
scale | number | 128 | Tile. Range 32 to 256 px. |
speed | number | 1 | Speed. Range 0.2 to 3. |
colour | number | 0 | Colour. Range 0 to 1. |
blend | "soft-light" | "overlay" | "screen" | "multiply" | "soft-light" | Blend. |
seed | number | 1 | Seed. Range 1 to 40. |
children | ReactNode | — | Whatever the grain sits over. |
Dependencies
0 external runtime dependencies
Ships with nothing but React.
Experimental: still under evaluation and not part of the published package yet.