Pulsar

Part Substitution

CSS

A square component within a grid is highlighted, slides out to the right, and is replaced by an incoming circular component of the same accent tone.

Tier
CSS
Dependencies
None
Duration
4 s, loops
Categories
Decorative and illustrative
Use cases
Success and confirmation, Workflow and approvals
Industries
Manufacturing and industrial, Cross-industry
Style
Duotone · regular stroke
Set
bom
Tags
geometricprogressminimal

Companion assets

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

Animated
CSS tier
Static vector
Part Substitution, 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-bom-part-substitution" data-pulsar="bom-part-substitution" viewBox="0 0 160 96"><rect width="20" height="20" x="34" y="38" stroke-width="1.5" opacity=".3" rx="3"></rect><rect width="20" height="20" x="106" y="38" stroke-width="1.5" opacity=".3" rx="3"></rect><rect width="24" height="24" x="68" y="36" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="3 3" stroke-width="1.5" opacity=".4" rx="4"></rect><rect width="18" height="18" x="71" y="39" fill="currentColor" fill-opacity=".1" stroke-width="1.5" class="old-part" rx="2"></rect><circle cx="80" cy="48" r="9" fill="var(--pulsar-accent, currentColor)" fill-opacity=".2" stroke="var(--pulsar-accent, currentColor)" stroke-width="2" class="new-part"></circle></svg>

animation.css

.pulsar-bom-part-substitution {
  display: block;
  overflow: visible;
}
.pulsar-bom-part-substitution .old-part {
  animation: bom-part-substitution-old 4000ms ease-in-out infinite;
}
.pulsar-bom-part-substitution .new-part {
  animation: bom-part-substitution-new 4000ms ease-in-out infinite;
}

@keyframes bom-part-substitution-old {
  0%,
  25% {
    transform: translate(0, 0);
    opacity: 0.8;
  }
  45%,
  100% {
    transform: translate(32px, -16px);
    opacity: 0;
  }
}

@keyframes bom-part-substitution-new {
  0%,
  45% {
    transform: translateY(-24px);
    opacity: 0;
  }
  65%,
  85% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulsar-bom-part-substitution .old-part {
    display: none;
  }
  .pulsar-bom-part-substitution .new-part {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

From this family15 in Bom

See the family