Pulsar

Current Reversal

CSS

A bidirectional busbar reverses its flow direction as solar export spikes, changing the path of moving energy pulses from consumption to generation.

Tier
CSS
Dependencies
None
Duration
4.4 s, loops
Categories
Decorative and illustrative
Use cases
Dashboards and reporting, Transitions and reveals
Industries
Energy and utilities, Cross-industry
Style
Duotone · light stroke
Set
grid
Tags
arrowlinepulsegeometric

Companion assets

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

Animated
CSS tier
Static vector
Current Reversal, 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-grid-current-reversal" data-pulsar="grid-current-reversal" viewBox="0 0 160 96"><line x1="24" x2="136" y1="48" y2="48" stroke-width="2" opacity=".3"></line><circle cx="24" cy="48" r="6" stroke-width="1.5"></circle><circle cx="136" cy="48" r="6" stroke-width="1.5"></circle><path stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" d="m84 40 8 8-8 8" class="grid-rev-arrow-fwd"></path><path stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" d="m76 40-8 8 8 8" class="grid-rev-arrow-rev"></path><line x1="24" x2="136" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-width="2" class="grid-rev-pulse"></line></svg>

animation.css

.pulsar-grid-current-reversal {
  display: block;
  overflow: visible;
}
.pulsar-grid-current-reversal .grid-rev-arrow-fwd {
  animation: grid-current-reversal-reversal-fwd-anim 4400ms ease-in-out infinite;
}
.pulsar-grid-current-reversal .grid-rev-arrow-rev {
  animation: grid-current-reversal-reversal-rev-anim 4400ms ease-in-out infinite;
}
.pulsar-grid-current-reversal .grid-rev-pulse {
  stroke-dasharray: 16 96;
  animation: grid-current-reversal-reversal-pulse-anim 4400ms ease-in-out infinite;
}

@keyframes grid-current-reversal-reversal-fwd-anim {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes grid-current-reversal-reversal-rev-anim {
  0%,
  45% {
    opacity: 0.1;
  }
  50%,
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0.1;
  }
}

@keyframes grid-current-reversal-reversal-pulse-anim {
  0% {
    stroke-dashoffset: 112;
  }
  45% {
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dashoffset: 0;
  }
  95% {
    stroke-dashoffset: 112;
  }
  100% {
    stroke-dashoffset: 112;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulsar-grid-current-reversal .grid-rev-arrow-fwd,
  .pulsar-grid-current-reversal .grid-rev-arrow-rev,
  .pulsar-grid-current-reversal .grid-rev-pulse {
    animation: none;
    opacity: 0.6;
    stroke-dashoffset: 56;
  }
}

From this family15 in Grid

See the family