Lead Time
CSSA horizontal progress line draws itself from left to right between two vertical terminal lines to measure lead time duration.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Data and progress
- Use cases
- Determinate progress, Dashboards and reporting
- Industries
- Manufacturing and industrial, Cross-industry
- Style
- Data mark · light stroke
- Set
- takt
- Tags
- lineminimalstrokebarsgeometric
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" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="pulsar pulsar-takt-lead-time" data-pulsar="takt-lead-time" viewBox="0 0 160 96"><line x1="36" x2="36" y1="28" y2="68" stroke-width="2.5" opacity=".4"></line><polyline stroke-width="1.5" points="42 34, 36 28, 42 22" opacity=".3"></polyline><line x1="124" x2="124" y1="28" y2="68" stroke="var(--pulsar-accent, currentColor)" stroke-width="2.5"></line><polyline stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" points="118 34, 124 28, 118 22"></polyline><line x1="36" x2="124" y1="48" y2="48" stroke-dasharray="3 3" opacity=".25"></line><line x1="36" x2="124" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="88" stroke-dashoffset="88" stroke-width="2.5" class="takt-lead-draw"></line><circle cx="124" cy="48" r="14" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" class="takt-lead-pulse"></circle></svg>
animation.css
.pulsar-takt-lead-time {
display: block;
overflow: visible;
}
.pulsar-takt-lead-time .takt-lead-draw {
animation: takt-lead-time-draw 4000ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.pulsar-takt-lead-time .takt-lead-pulse {
transform-origin: 124px 48px;
animation: takt-lead-time-finish 4000ms ease-out infinite;
}
@keyframes takt-lead-time-draw {
0% {
stroke-dashoffset: 88;
opacity: 0.3;
}
55%,
82% {
stroke-dashoffset: 0;
opacity: 1;
}
92%,
100% {
stroke-dashoffset: 0;
opacity: 0.2;
}
}
@keyframes takt-lead-time-finish {
0%,
54% {
transform: scale(0.6);
opacity: 0;
}
60% {
opacity: 0.85;
}
78%,
100% {
transform: scale(1.6);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-takt-lead-time .takt-lead-draw,
.pulsar-takt-lead-time .takt-lead-pulse {
animation: none;
stroke-dashoffset: 0;
transform: none;
opacity: 1;
}
.pulsar-takt-lead-time .takt-lead-pulse {
opacity: 0;
}
}