Pulsar

Revocation

CSS

A credential badge's border breaks at a designated node, and a diagonal slash line slides down across the badge to mark it invalid.

Tier
CSS
Dependencies
None
Duration
4 s, loops
Categories
Data and progress
Use cases
Errors and warnings, Security and trust
Industries
SaaS and software, Security and identity
Style
Technical · light stroke
Set
credential
Tags
linegeometricminimalwipeui

Companion assets

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

Animated
CSS tier
Static vector
Revocation, not animated
Download SVG

Code

animation.svg

<svg xmlns="http://www.w3.org/2000/svg" fill="none" aria-hidden="true" class="pulsar pulsar-credential-revocation" data-pulsar="credential-revocation" viewBox="0 0 160 96"><g class="credential-revocation-badge"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M60 22h35"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M105 28v46H55V22h5" opacity=".6"></path><circle cx="95" cy="22" r="2.5" fill="var(--pulsar-accent, currentColor)"></circle></g><line x1="45" x2="115" y1="20" y2="76" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="2.5" class="credential-revocation-slash"></line></svg>

animation.css

.pulsar-credential-revocation {
  display: block;
  overflow: visible;
}
.pulsar-credential-revocation .credential-revocation-slash {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: credential-revocation-slash-anim 4000ms cubic-bezier(0.2, 1, 0.3, 1) infinite;
}
.pulsar-credential-revocation .credential-revocation-badge {
  animation: credential-revocation-badge-anim 4000ms ease infinite;
}

@keyframes credential-revocation-slash-anim {
  0%,
  20% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  32% {
    opacity: 1;
  }
  50%,
  80% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  92%,
  100% {
    stroke-dashoffset: -100;
    opacity: 0;
  }
}

@keyframes credential-revocation-badge-anim {
  0%,
  30% {
    opacity: 0.8;
  }
  45%,
  80% {
    opacity: 0.35;
  }
  92%,
  100% {
    opacity: 0.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulsar-credential-revocation * {
    animation: none !important;
  }
}

From this family15 in Credential

See the family