Film Burn
A warm light leak drifting across a surface, like over-exposed 35mm.
Summer '86
Usage
import { FilmBurn } from '@vinyl-ui/effects';
<FilmBurn className="rounded-md bg-ultraviolet p-6">Summer '86</FilmBurn>Or the utility: <div class="film-burn">…</div>. It uses ::after, so it combines with scanlines (::before).
Props
Prop
Type
How it works
- Web: two radial gradients in
--color-burnon a::afterlayer withmix-blend-mode: screen, drifting over--film-burn-duration(6s). The container getsoverflow: hiddenandisolation: isolate. - Native: an
react-native-svgradial-gradient overlay withmixBlendMode: 'screen'(New Architecture), animated by Reanimated.
Works best on mid-to-dark surfaces. On cream backgrounds the screen blend is barely visible.