Pulsar
Handshake

Handshake

CSS

Two endpoints exchange a three-step handshake, each leg confirming with a tick before the next begins.

Tier
CSS
Dependencies
None
Duration
2.4 s, loops
Categories
Loaders and spinners
Use cases
Loading and waiting, Sync and integration
Industries
SaaS and software, Security and identity
Style
Minimal line · light stroke
Set
signal
Tags
loopminimaluistroke

Companion assets

The same artwork, not animated. Derived from the entry’s own resting state, so it matches exactly.

Animated
Handshake
CSS tier
Static vector
Handshake, not animated
Download SVG

Code

animation.svg

<svg xmlns="http://www.w3.org/2000/svg" aria-labelledby="signal-handshake-title" class="pulsar pulsar-signal-handshake" data-pulsar="signal-handshake" role="img" viewBox="0 0 120 40"><title id="signal-handshake-title">Handshake</title><line id="signal-handshake-node-a" x1="30" x2="30" y1="8" y2="32" stroke="currentColor" stroke-linecap="round" stroke-width="2"></line><line id="signal-handshake-node-b" x1="90" x2="90" y1="8" y2="32" stroke="currentColor" stroke-linecap="round" stroke-width="2"></line><line id="signal-handshake-track-1" x1="30" x2="90" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2" opacity=".2"></line><line id="signal-handshake-track-2" x1="90" x2="30" y1="20" y2="20" stroke="currentColor" stroke-linecap="round" stroke-width="2" opacity=".2"></line><line id="signal-handshake-track-3" x1="30" x2="90" y1="28" y2="28" stroke="currentColor" stroke-linecap="round" stroke-width="2" opacity=".2"></line><line id="signal-handshake-lane-1" x1="30" x2="90" y1="12" y2="12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" class="signal-handshake-lane signal-handshake-lane-1"></line><line id="signal-handshake-lane-2" x1="90" x2="30" y1="20" y2="20" fill="none" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="2" class="signal-handshake-lane signal-handshake-lane-2"></line><line id="signal-handshake-lane-3" x1="30" x2="90" y1="28" y2="28" fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" class="signal-handshake-lane signal-handshake-lane-3"></line><path id="signal-handshake-tick-1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m94 12 1.5 1.5 3-3" class="signal-handshake-tick signal-handshake-tick-1"></path><path id="signal-handshake-tick-2" fill="none" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m22 20 1.5 1.5 3-3" class="signal-handshake-tick signal-handshake-tick-2"></path><path id="signal-handshake-tick-3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m94 28 1.5 1.5 3-3" class="signal-handshake-tick signal-handshake-tick-3"></path></svg>

animation.css

.pulsar-signal-handshake .signal-handshake-lane {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation-duration: 2400ms;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.pulsar-signal-handshake .signal-handshake-lane-1 {
  animation-name: signal-handshake-lane-1-flow;
}

.pulsar-signal-handshake .signal-handshake-lane-2 {
  animation-name: signal-handshake-lane-2-flow;
}

.pulsar-signal-handshake .signal-handshake-lane-3 {
  animation-name: signal-handshake-lane-3-flow;
}

.pulsar-signal-handshake .signal-handshake-tick {
  opacity: 0;
  animation-duration: 2400ms;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.pulsar-signal-handshake .signal-handshake-tick-1 {
  animation-name: signal-handshake-tick-1-anim;
}

.pulsar-signal-handshake .signal-handshake-tick-2 {
  animation-name: signal-handshake-tick-2-anim;
}

.pulsar-signal-handshake .signal-handshake-tick-3 {
  animation-name: signal-handshake-tick-3-anim;
}

@keyframes signal-handshake-lane-1-flow {
  0% {
    stroke-dashoffset: 60;
    opacity: 1;
  }
  20%,
  90% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes signal-handshake-lane-2-flow {
  0%,
  30% {
    stroke-dashoffset: 60;
    opacity: 0;
  }
  30.1% {
    stroke-dashoffset: 60;
    opacity: 1;
  }
  50%,
  90% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes signal-handshake-lane-3-flow {
  0%,
  60% {
    stroke-dashoffset: 60;
    opacity: 0;
  }
  60.1% {
    stroke-dashoffset: 60;
    opacity: 1;
  }
  80%,
  90% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes signal-handshake-tick-1-anim {
  0%,
  20% {
    opacity: 0;
  }
  30%,
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes signal-handshake-tick-2-anim {
  0%,
  50% {
    opacity: 0;
  }
  60%,
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes signal-handshake-tick-3-anim {
  0%,
  80% {
    opacity: 0;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulsar-signal-handshake .signal-handshake-lane {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  .pulsar-signal-handshake .signal-handshake-tick {
    animation: none;
    opacity: 1;
  }
}