Noise Field
A copy-paste backgrounds component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
BackgroundsHTMLCSSany framework
Copy into your project
HTML
<div class="nuda-noise-field" aria-hidden="true"></div>CSS
.nuda-noise-field {
position: relative;
overflow: hidden;
background: radial-gradient(ellipse at 50% 40%,#181808,#09090b 70%);
}
.nuda-noise-field::before {
content: '';
position: absolute;
inset: -50%;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='nf'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23nf)'/%3E%3C/svg%3E");
opacity: .14;
mix-blend-mode: overlay;
animation: _noiseField .4s steps(4) infinite;
will-change: transform;
}
.nuda-noise-field::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(circle at 50% 45%,rgba(228,255,84,.14),transparent 55%);
}
@keyframes _noiseField {
0% {
transform: translate3d(0,0,0);
}
25% {
transform: translate3d(-6px,4px,0);
}
50% {
transform: translate3d(5px,-3px,0);
}
75% {
transform: translate3d(-3px,-5px,0);
}
100% {
transform: translate3d(4px,3px,0);
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-noise-field::before {
animation: none;
}
}
How to use Noise Field
Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.
Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.