Dial Stepper
CSSA circular gauge dial with discrete calibrated tick marks has an indicator needle that steps between readings with slight mechanical settling.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Loaders and spinners
- Use cases
- Loading and waiting
- Industries
- Energy and utilities, Cross-industry
- Style
- Data mark · light stroke
- Set
- meter
- Tags
- ringcirclespinnergeometric
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-meter-dial-spin" data-pulsar="meter-dial-spin" viewBox="0 0 160 96"><circle cx="80" cy="48" r="36" stroke-width="1.5" opacity=".3"></circle><circle cx="80" cy="48" r="30" stroke-dasharray="2 4" opacity=".4"></circle><line x1="80" x2="80" y1="14" y2="20" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><line x1="80" x2="80" y1="76" y2="82" stroke-width="1.5" opacity=".3"></line><line x1="46" x2="52" y1="48" y2="48" stroke-width="1.5" opacity=".3"></line><line x1="108" x2="114" y1="48" y2="48" stroke-width="1.5" opacity=".3"></line><line x1="56" x2="60" y1="24" y2="28" stroke-width="1.5" opacity=".3"></line><line x1="104" x2="100" y1="24" y2="28" stroke-width="1.5" opacity=".3"></line><line x1="56" x2="60" y1="72" y2="68" stroke-width="1.5" opacity=".3"></line><line x1="104" x2="100" y1="72" y2="68" stroke-width="1.5" opacity=".3"></line><circle cx="80" cy="48" r="4" fill="currentColor" stroke-width="1.5"></circle><g class="meter-dial-needle"><line x1="80" x2="80" y1="48" y2="22" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><circle cx="80" cy="22" r="2" fill="var(--pulsar-accent, currentColor)"></circle></g></svg>
animation.css
.pulsar-meter-dial-spin {
display: block;
overflow: visible;
}
.pulsar-meter-dial-spin .meter-dial-needle {
transform-origin: 80px 48px;
animation: meter-dial-spin-step-anim 4000ms cubic-bezier(0.3, 1.4, 0.4, 1) infinite;
}
@keyframes meter-dial-spin-step-anim {
0%,
15% {
transform: rotate(0deg);
}
25%,
40% {
transform: rotate(45deg);
}
50%,
65% {
transform: rotate(90deg);
}
75%,
90% {
transform: rotate(180deg);
}
100% {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-meter-dial-spin .meter-dial-needle {
animation: none;
transform: rotate(45deg);
}
}