Pulsar

Peak Shaving

CSS

A bar chart representation of daily load curves shows a high peak being smoothed downward as a supplementary battery storage unit discharges its energy.

Tier
CSS
Dependencies
None
Duration
4.2 s, loops
Categories
Decorative and illustrative
Use cases
Determinate progress, Dashboards and reporting
Industries
Energy and utilities, Cross-industry
Style
Duotone · light stroke
Set
grid
Tags
chartbarsscaleminimal

Companion assets

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

Animated
CSS tier
Static vector
Peak Shaving, 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-peak-shaving" data-pulsar="grid-peak-shaving" viewBox="0 0 160 96"><line x1="20" x2="140" y1="80" y2="80" stroke-width="1.5" opacity=".4"></line><line x1="20" x2="20" y1="80" y2="16" stroke-width="1.5" opacity=".4"></line><line x1="20" x2="140" y1="36" y2="36" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="4 4" class="grid-peak-limit"></line><rect width="10" height="20" x="28" y="60" stroke-width="1.5" opacity=".4" rx="1"></rect><rect width="10" height="32" x="44" y="48" stroke-width="1.5" opacity=".5" rx="1"></rect><rect width="10" height="42" x="60" y="38" stroke-width="1.5" opacity=".6" rx="1"></rect><g transform="matrix(1 0 0 -1 76 80)"><rect width="10" height="60" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" class="grid-peak-shaved" rx="1"></rect></g><rect width="10" height="38" x="92" y="42" stroke-width="1.5" opacity=".6" rx="1"></rect><rect width="10" height="28" x="108" y="52" stroke-width="1.5" opacity=".5" rx="1"></rect><rect width="10" height="14" x="124" y="66" stroke-width="1.5" opacity=".4" rx="1"></rect></svg>

animation.css

.pulsar-grid-peak-shaving {
  display: block;
  overflow: visible;
}
.pulsar-grid-peak-shaving .grid-peak-shaved {
  animation: grid-peak-shaving-bar-anim 4200ms ease-in-out infinite;
}
.pulsar-grid-peak-shaving .grid-peak-limit {
  animation: grid-peak-shaving-limit-anim 4200ms ease-in-out infinite;
}

@keyframes grid-peak-shaving-bar-anim {
  0%,
  20% {
    height: 60px;
    opacity: 0.6;
  }
  50%,
  80% {
    height: 44px;
    opacity: 1;
  }
  95%,
  100% {
    height: 60px;
    opacity: 0.6;
  }
}

@keyframes grid-peak-shaving-limit-anim {
  0%,
  20% {
    opacity: 0.3;
  }
  50%,
  80% {
    opacity: 0.9;
  }
  95%,
  100% {
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulsar-grid-peak-shaving .grid-peak-shaved,
  .pulsar-grid-peak-shaving .grid-peak-limit {
    animation: none;
    height: 44px;
    opacity: 0.8;
  }
}

From this family15 in Grid

See the family