Static Burst
A copy-paste noise & grain component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Noise & GrainHTMLCSSany framework
LOST SIGNAL
Copy into your project
HTML
<!-- Static Burst — dim static with a rare, brief brightness burst -->
<div class="nuda-ng2-static-burst">
<div class="nuda-ng2-static-burst__noise" aria-hidden="true"></div>
<span class="nuda-ng2-static-burst__label">LOST SIGNAL</span>
</div>CSS
.nuda-ng2-static-burst {
position: relative;
width: 100%;
max-width: 220px;
height: 130px;
border-radius: 12px;
overflow: hidden;
background: #09090b;
display: flex;
align-items: center;
justify-content: center;
isolation: isolate;
}
.nuda-ng2-static-burst__noise {
position: absolute;
inset: -50%;
width: 200%;
height: 200%;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
background-size: 140px 140px;
pointer-events: none;
animation: _nuda-ng2staticburst-shift .7s steps(5) infinite,_nuda-ng2staticburst-burst 8s ease-in-out infinite;
}
.nuda-ng2-static-burst__label {
position: relative;
z-index: 1;
font-family: ui-monospace,SFMono-Regular,Menlo,monospace;
font-size: 12px;
font-weight: 700;
letter-spacing: .14em;
color: #e4ff54;
}
@keyframes _nuda-ng2staticburst-shift {
0% {
transform: translate3d(0,0,0);
}
25% {
transform: translate3d(-9px,6px,0);
}
50% {
transform: translate3d(7px,-8px,0);
}
75% {
transform: translate3d(-6px,-4px,0);
}
100% {
transform: translate3d(0,0,0);
}
}
@keyframes _nuda-ng2staticburst-burst {
0%,85% {
opacity: .12;
}
90% {
opacity: .5;
}
95% {
opacity: .2;
}
100% {
opacity: .12;
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-ng2-static-burst__noise {
animation: none;
opacity: .15;
}
}
How to use Static Burst
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.