ZeroGravity UI

Mediaexperimental

Emulsion

Film photo filter

A photographic treatment: halation, grain, a light leak and lifted shadows.

Abstract poster of a sun setting behind layered hills

Customize

Stockhalation, grain and a leak across one corner
0.45halation
0.30grain
0.25warmth
0.30leak
0.18fade
14 pxradius
4seed

Usage

TSX
<Emulsion />

Generated from the controls above. Only props that differ from their defaults are shown.

Props

10 documented props on Emulsion
PropertyTypeDefaultDescription
halationnumber0.45Halation. Range 0 to 1.
grainnumber0.3Grain. Range 0 to 1.
warmthnumber0.25Warmth. Range -1 to 1.
leaknumber0.3Leak. Range 0 to 1.
fadenumber0.18Fade. Range 0 to 1.
radiusnumber14Radius. Range 0 to 48 px.
seednumber4Seed. Range 1 to 40.
srcstring—Any image URL or local asset.
altstring—Empty string if the image is decorative.
aspectstring"3 / 2"Locks the frame to a ratio.

Dependencies

0 external runtime dependencies

Ships with nothing but React.

Experimental: still under evaluation and not part of the published package yet.