Wave
CSSA smooth, repeating sine wave suddenly stutters and deforms into an erratic, chaotic shape for one cycle before returning to harmony.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.2 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Dashboards and reporting, Notifications
- Industries
- Security and identity, Cross-industry
- Style
- Minimal line · light stroke
- Set
- anomaly
- Tags
- wavelinestrokepulseminimal
Companion assets
The same artwork, not animated. Derived from the entry’s own resting state, so it matches exactly.
Code
animation.svg
<svg xmlns="http://www.w3.org/2000/svg" fill="none" aria-hidden="true" class="pulsar pulsar-anomaly-wave" data-pulsar="anomaly-wave" viewBox="0 0 160 96"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M20 48q15-20 30 0t30 0 30 0 30 0" class="anomaly-wave-ref" opacity=".3"></path><path stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M20 48q15-20 30 0 8-30 14 20 8-36 16-20 15 20 30 0t30 0" class="anomaly-wave-active"></path><circle cx="64" cy="68" r="2.5" fill="var(--pulsar-accent, currentColor)" class="anomaly-wave-pip1"></circle><circle cx="58" cy="18" r="2.5" fill="var(--pulsar-accent, currentColor)" class="anomaly-wave-pip2"></circle></svg>
animation.css
.pulsar-anomaly-wave {
display: block;
overflow: visible;
}
.pulsar-anomaly-wave .anomaly-wave-active {
stroke-dasharray: 200;
stroke-dashoffset: 200;
animation: anomaly-wave-active-anim 4200ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.pulsar-anomaly-wave .anomaly-wave-pip1,
.pulsar-anomaly-wave .anomaly-wave-pip2 {
animation: anomaly-wave-pips-anim 4200ms ease infinite;
}
@keyframes anomaly-wave-active-anim {
0%,
15% {
stroke-dashoffset: 200;
opacity: 0;
}
25% {
opacity: 1;
}
60%,
80% {
stroke-dashoffset: 0;
opacity: 1;
}
92%,
100% {
stroke-dashoffset: -200;
opacity: 0;
}
}
@keyframes anomaly-wave-pips-anim {
0%,
35% {
opacity: 0;
transform: scale(0);
}
42%,
75% {
opacity: 1;
transform: scale(1);
}
88%,
100% {
opacity: 0;
transform: scale(0);
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-anomaly-wave * {
animation: none !important;
}
}