Pulsar

Heartbeat

CSS

A mechanical metronome rhythm bar oscillates against fixed tempo markers to establish the steady assembly beat.

Tier
CSS
Dependencies
None
Duration
4 s, loops
Categories
Data and progress
Use cases
Loading and waiting, Dashboards and reporting
Industries
Manufacturing and industrial, Cross-industry
Style
Data mark · light stroke
Set
takt
Tags
barspulselineminimalgeometric

Companion assets

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

Animated
CSS tier
Static vector
Heartbeat, not animated
Download SVG

Code

animation.svg

<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="pulsar pulsar-takt-heartbeat" data-pulsar="takt-heartbeat" viewBox="0 0 160 96"><line x1="34" x2="126" y1="48" y2="48" stroke-width="1.5" opacity=".35"></line><line x1="44" x2="44" y1="36" y2="60" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><line x1="116" x2="116" y1="36" y2="60" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><line x1="80" x2="80" y1="42" y2="54" stroke-width="1.2" opacity=".4"></line><g class="takt-beat-slider"><rect width="20" height="20" x="70" y="38" fill="currentColor" fill-opacity=".1" stroke="var(--pulsar-accent, currentColor)" stroke-width="2" rx="3"></rect><circle cx="80" cy="48" r="3" fill="var(--pulsar-accent, currentColor)" stroke-width="0"></circle></g><circle cx="44" cy="48" r="12" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" class="takt-beat-ring ring-left"></circle><circle cx="116" cy="48" r="12" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" class="takt-beat-ring ring-right"></circle></svg>

animation.css

.pulsar-takt-heartbeat {
  display: block;
  overflow: visible;
}
.pulsar-takt-heartbeat .takt-beat-slider {
  animation: takt-heartbeat-shuttle 4000ms cubic-bezier(0.2, 1.2, 0.4, 1) infinite;
}
.pulsar-takt-heartbeat .ring-left {
  transform-origin: 44px 48px;
  animation: takt-heartbeat-strike 4000ms ease-out infinite;
}
.pulsar-takt-heartbeat .ring-right {
  transform-origin: 116px 48px;
  animation: takt-heartbeat-strike 4000ms ease-out -2000ms infinite;
}

@keyframes takt-heartbeat-shuttle {
  0%,
  100% {
    transform: translateX(-36px);
  }
  50% {
    transform: translateX(36px);
  }
}

@keyframes takt-heartbeat-strike {
  0%,
  96% {
    transform: scale(0.5);
    opacity: 0;
  }
  2% {
    opacity: 0.9;
  }
  20%,
  90% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulsar-takt-heartbeat .takt-beat-slider,
  .pulsar-takt-heartbeat .ring-left,
  .pulsar-takt-heartbeat .ring-right {
    animation: none;
    transform: none;
    opacity: 1;
  }
  .pulsar-takt-heartbeat .ring-left,
  .pulsar-takt-heartbeat .ring-right {
    opacity: 0;
  }
}

From this family15 in Takt

See the family