# Radar Loader

> A green radar screen with range rings, a rotating sweep and a blip that lights up as it passes.

- Category: [CSS Loaders & Spinners](https://copy-css.com/category/loaders)
- Tags: sweep, scanning, conic-gradient, searching, sonar
- Live preview: https://copy-css.com/snippets/radar-loader
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="loader-radar" role="status" aria-label="Searching"></div>
```

## CSS

```css
.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; }
}
```

## Notes

- 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.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
