CSS Radar Loader
A green radar screen with range rings, a rotating sweep and a blip that lights up as it passes.
<div class="loader-radar" role="status" aria-label="Searching"></div>
.loader-radar {
position: relative;
width: 100px;
height: 100px;
overflow: hidden;
border: 2px solid #22c55e80;
border-radius: 50%;
background:
repeating-radial-gradient(#0000 0 15px, #22c55e4d 15px 16px),
linear-gradient(#22c55e33, #22c55e33) center / 1px 100% no-repeat,
linear-gradient(#22c55e33, #22c55e33) center / 100% 1px no-repeat,
#052e16;
}
/* Sweep */
.loader-radar::before {
content: "";
position: absolute;
inset: 0;
border-radius: 50%;
background: conic-gradient(#22c55e00 0 70%, #22c55eaa);
animation: loader-radar-sweep 2s linear infinite;
}
/* Blip */
.loader-radar::after {
content: "";
position: absolute;
top: 26%;
left: 64%;
width: 6px;
height: 6px;
border-radius: 50%;
background: #86efac;
box-shadow: 0 0 8px #4ade80;
opacity: 0;
animation: loader-radar-blip 2s linear infinite;
}
@keyframes loader-radar-sweep {
to { transform: rotate(1turn); }
}
@keyframes loader-radar-blip {
0%, 8% { opacity: 0; }
10% { opacity: 1; }
70%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.loader-radar::before,
.loader-radar::after { animation-duration: 5s; }
}
About this CSS Radar Loader
This CSS Radar Loader is 53 lines of pure CSS (1.1 KB) with no JavaScript and no dependencies. It uses keyframe animations, transforms, linear gradients and radial gradients. It works in current versions of Chrome, Edge, Safari and Firefox. It works in any stack: plain HTML, React, Vue, Svelte, Astro, WordPress or Webflow.
CSS features used
- keyframe animations
- transforms
- linear gradients
- radial gradients
- conic gradients
- box shadows
- reduced-motion support
Customize it
The colors in this snippet. Search and replace them to match your brand:
#22c55e80#0000#22c55e4d#22c55e33#052e16#22c55e00#22c55eaa#86efac#4ade80
How to use this radar loader
- Copy the HTML and paste it where you want the element to appear.
- Copy the CSS into your stylesheet, or inside a
<style>tag. - Keep the
.loader-radarclass name, or rename it in both places. Then tweak colors, sizes and timing to match your design. - Using React or Next.js? Change
classtoclassNamein the HTML. The CSS works as is, including in Tailwind projects (put it in your global stylesheet).
Building with an AI tool?
“Copy for AI” copies a short prompt for Cursor, Claude Code, Lovable, Bolt or v0. Your AI tool opens the Markdown version of this snippet and reads the HTML, CSS and setup notes there. If your tool can't open links, with the code instead. More ways to use copy CSS with AI.