Repair
CSSA broken fiber or thread line gets re-threaded as two looping lines overlap, tie a secure node, and straighten out.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.2 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Success and confirmation, Workflow and approvals
- Industries
- Security and identity, Cross-industry
- Style
- Minimal line · light stroke
- Set
- patch
- Tags
- linepulsesparklestrokeminimal
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-repair" data-pulsar="patch-repair" viewBox="0 0 160 96"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M24 48c26 0 40-6 56 0" class="patch-repair-fiber-l" opacity=".6"></path><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M136 48c-26 0-40 6-56 0" class="patch-repair-fiber-r" opacity=".6"></path><line x1="24" x2="136" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="2.5" class="patch-repair-core"></line><g class="patch-repair-flash"><circle cx="80" cy="48" r="5" fill="var(--pulsar-accent, currentColor)"></circle><line x1="80" x2="80" y1="40" y2="56" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5"></line><line x1="72" x2="88" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5"></line></g><circle cx="24" cy="48" r="3" fill="var(--pulsar-accent, currentColor)" class="patch-repair-photon"></circle></svg>
animation.css
.pulsar-patch-repair {
display: block;
overflow: visible;
}
.pulsar-patch-repair .patch-repair-fiber-l {
animation: patch-repair-fiber-l-anim 4200ms ease infinite;
}
.pulsar-patch-repair .patch-repair-fiber-r {
animation: patch-repair-fiber-r-anim 4200ms ease infinite;
}
.pulsar-patch-repair .patch-repair-core {
animation: patch-repair-core-anim 4200ms ease infinite;
}
.pulsar-patch-repair .patch-repair-flash {
transform-origin: 80px 48px;
animation: patch-repair-flash-anim 4200ms cubic-bezier(0.1, 1, 0.3, 1) infinite;
}
.pulsar-patch-repair .patch-repair-photon {
animation: patch-repair-photon-anim 4200ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes patch-repair-fiber-l-anim {
0%,
15% {
transform: translateY(-6px);
opacity: 0.5;
}
30%,
80% {
transform: translateY(0);
opacity: 0;
}
92%,
100% {
transform: translateY(-6px);
opacity: 0.5;
}
}
@keyframes patch-repair-fiber-r-anim {
0%,
15% {
transform: translateY(6px);
opacity: 0.5;
}
30%,
80% {
transform: translateY(0);
opacity: 0;
}
92%,
100% {
transform: translateY(6px);
opacity: 0.5;
}
}
@keyframes patch-repair-core-anim {
0%,
25% {
opacity: 0;
}
32%,
80% {
opacity: 1;
}
90%,
100% {
opacity: 0;
}
}
@keyframes patch-repair-flash-anim {
0%,
28% {
transform: scale(0);
opacity: 0;
}
32% {
transform: scale(1.4);
opacity: 1;
}
40% {
transform: scale(0);
opacity: 0;
}
100% {
transform: scale(0);
opacity: 0;
}
}
@keyframes patch-repair-photon-anim {
0%,
42% {
transform: translateX(0);
opacity: 0;
}
48% {
opacity: 1;
}
75% {
transform: translateX(112px);
opacity: 1;
}
79%,
100% {
transform: translateX(112px);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-patch-repair * {
animation: none !important;
}
}