Pulsar
Data Diff

Data Diff

CSS

Comparing two records and resolving a detected mismatch.

Tier
CSS
Dependencies
None
Duration
4.5 s, loops
Categories
Loaders and spinners
Use cases
Loading and waiting, Documents and files
Industries
Finance and fintech, Cross-industry
Style
Minimal line · light stroke
Set
reconcile
Tags
loopminimalui

Companion assets

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

Animated
Data Diff
CSS tier
Static vector
Data Diff, not animated
Download SVG

Code

animation.svg

<svg xmlns="http://www.w3.org/2000/svg" aria-labelledby="reconcile-diff-title" class="pulsar pulsar-reconcile-diff" data-pulsar="reconcile-diff" role="img" viewBox="0 0 120 40"><title id="reconcile-diff-title">Data Diff</title><g id="reconcile-diff-container"><g id="reconcile-diff-doc-left"><rect width="40" height="32" x="15" fill="none" stroke="currentColor" stroke-width="2" rx="2"></rect><line x1="23" x2="47" y1="4" y2="4" stroke="currentColor" stroke-linecap="round" stroke-width="2"></line><line x1="23" x2="47" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"></line><line id="reconcile-diff-mismatch" x1="23" x2="47" y1="20" y2="20" stroke="currentColor" stroke-dasharray="4 4" stroke-linecap="round" stroke-width="2"></line><line x1="23" x2="47" y1="28" y2="28" stroke="currentColor" stroke-linecap="round" stroke-width="2"></line></g><g id="reconcile-diff-doc-right"><rect width="40" height="32" x="65" fill="none" stroke="currentColor" stroke-width="2" rx="2"></rect><line x1="73" x2="97" y1="4" y2="4" stroke="currentColor" stroke-linecap="round" stroke-width="2"></line><line x1="73" x2="97" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"></line><line x1="73" x2="97" y1="20" y2="20" stroke="currentColor" stroke-linecap="round" stroke-width="2"></line><line x1="73" x2="97" y1="28" y2="28" stroke="currentColor" stroke-linecap="round" stroke-width="2"></line></g></g></svg>

animation.css

.pulsar-reconcile-diff #reconcile-diff-container {
  animation: reconcile-diff-scroll 4500ms ease-in-out infinite;
}

.pulsar-reconcile-diff #reconcile-diff-mismatch {
  animation: reconcile-diff-mismatch-effect 4500ms linear infinite;
}

@keyframes reconcile-diff-scroll {
  0% {
    transform: translateY(8px);
  }
  15%,
  85% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(8px);
  }
}

@keyframes reconcile-diff-mismatch-effect {
  0%,
  15% {
    opacity: 1;
    stroke-dasharray: 4 4;
  }
  25% {
    opacity: 0.3;
  }
  35% {
    opacity: 1;
    stroke-dasharray: 4 4;
  }
  50%,
  85% {
    opacity: 1;
    stroke-dasharray: 24 0;
  }
  100% {
    opacity: 1;
    stroke-dasharray: 24 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulsar-reconcile-diff #reconcile-diff-container,
  .pulsar-reconcile-diff #reconcile-diff-mismatch {
    animation: none;
  }

  .pulsar-reconcile-diff #reconcile-diff-container {
    transform: translateY(0);
  }

  .pulsar-reconcile-diff #reconcile-diff-mismatch {
    stroke-dasharray: none;
    opacity: 1;
  }
}