Shield
CSSA vulnerability shield icon gets a secondary thicker curved outer plate that slides over its face and locks.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.5 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Success and confirmation, Security and trust
- Industries
- Security and identity, Cross-industry
- Style
- Minimal line · light stroke
- Set
- patch
- Tags
- geometricglowminimalpulseui
Companion assets
The same artwork, not animated. Derived from the entry’s own resting state, so it matches exactly.
Code
animation.svg
<svg xmlns="http://www.w3.org/2000/svg" fill="none" aria-hidden="true" class="pulsar pulsar-patch-shield" data-pulsar="patch-shield" viewBox="0 0 160 96"><g stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="patch-shield-base" opacity=".6"><path d="M80 20 52 36v32l28 16 28-16"></path><circle cx="80" cy="20" r="2.5" fill="currentColor"></circle><circle cx="108" cy="68" r="2.5" fill="currentColor"></circle></g><g class="patch-shield-plate"><path stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M108 68V36L80 20"></path><circle cx="108" cy="36" r="3" fill="var(--pulsar-accent, currentColor)"></circle><line x1="80" x2="88" y1="20" y2="24.5" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line></g><polygon stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" points="80,38 90,44 90,56 80,62 70,56 70,44" class="patch-shield-core"></polygon></svg>
animation.css
.pulsar-patch-shield {
display: block;
overflow: visible;
}
.pulsar-patch-shield .patch-shield-plate {
transform-origin: 108px 36px;
animation: patch-shield-plate-anim 4500ms cubic-bezier(0.2, 1, 0.3, 1) infinite;
}
.pulsar-patch-shield .patch-shield-core {
transform-origin: 80px 50px;
animation: patch-shield-core-anim 4500ms ease infinite;
}
@keyframes patch-shield-plate-anim {
0% {
transform: translate(20px, -15px);
opacity: 0;
}
15% {
transform: translate(20px, -15px);
opacity: 0.3;
}
32% {
transform: translate(0, 0);
opacity: 1;
}
80% {
transform: translate(0, 0);
opacity: 1;
}
92% {
transform: translate(10px, -8px);
opacity: 0;
}
100% {
transform: translate(20px, -15px);
opacity: 0;
}
}
@keyframes patch-shield-core-anim {
0%,
30% {
transform: scale(0.85);
opacity: 0.3;
}
38% {
transform: scale(1.15);
opacity: 1;
}
50%,
80% {
transform: scale(1);
opacity: 0.85;
}
90%,
100% {
transform: scale(0.85);
opacity: 0.3;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-patch-shield * {
animation: none !important;
}
}