Tension
CSSA horizontal spring outline compresses and expands as a tension indicator pointer shifts along an adjacent linear scale.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Determinate progress, Dashboards and reporting
- Industries
- Manufacturing and industrial, Cross-industry
- Style
- Technical · light stroke
- Set
- calibrate
- Tags
- lineminimalgeometricwavepulse
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-calibrate-tension" data-pulsar="calibrate-tension" viewBox="0 0 160 96"><line x1="32" x2="32" y1="28" y2="64" stroke-width="2.5" opacity=".4"></line><line x1="26" x2="32" y1="46" y2="46" stroke-width="2" opacity=".4"></line><line x1="32" x2="128" y1="68" y2="68" stroke-width="1.5" opacity=".35"></line><line x1="52" x2="52" y1="68" y2="74" opacity=".4"></line><line x1="72" x2="72" y1="68" y2="74" opacity=".4"></line><line x1="92" x2="92" y1="68" y2="76" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5"></line><line x1="112" x2="112" y1="68" y2="74" opacity=".4"></line><path stroke="var(--pulsar-accent, currentColor)" stroke-width="2" d="m32 46 10-10 8 20 8-20 8 20 8-20 8 20 8-10" class="calibrate-tension-spring"></path><g class="calibrate-tension-slider"><rect width="10" height="16" x="88" y="38" fill="currentColor" fill-opacity=".1" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" rx="2"></rect><line x1="93" x2="93" y1="54" y2="68" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><circle cx="93" cy="68" r="2" fill="var(--pulsar-accent, currentColor)" stroke-width="0"></circle></g></svg>
animation.css
.pulsar-calibrate-tension {
display: block;
overflow: visible;
}
.pulsar-calibrate-tension .calibrate-tension-spring {
transform-origin: 32px 46px;
animation: calibrate-tension-stretch 4000ms ease-in-out infinite;
}
.pulsar-calibrate-tension .calibrate-tension-slider {
animation: calibrate-tension-slide 4000ms ease-in-out infinite;
}
@keyframes calibrate-tension-stretch {
0%,
100% {
transform: scaleX(0.85);
}
50% {
transform: scaleX(1.22);
}
}
@keyframes calibrate-tension-slide {
0%,
100% {
transform: translateX(-12px);
}
50% {
transform: translateX(18px);
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-calibrate-tension .calibrate-tension-spring,
.pulsar-calibrate-tension .calibrate-tension-slider {
animation: none;
transform: none;
opacity: 1;
}
}