topolines — animated topographic contour backgrounds for React
01 Relief
Animated topographic contour backgrounds.
One React component. Zero dependencies. Drawn on the GPU.
npm i topolinesUsage
One component. It fills its parent, sizes itself with a resize observer, and pauses when off screen.
import { Topolines } from "topolines/react";
export default function Background() {
return <Topolines seed="topo" color="#F2EFE6" opacity={0.34} />;
}Presets
Recipes
Theme it from CSS variables, animate color on scroll, pin a section and freeze the pan, or stitch two instances into one continuous map.
Read the docs →