Overage
CSSA solid meter fills past its dotted capacity mark, triggering a warning icon to pulse in the margin.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.2 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Dashboards and reporting, Notifications
- Industries
- SaaS and software, Cross-industry
- Style
- Duotone · light stroke
- Set
- seat
- Tags
- barsprogresspulsegeometricminimal
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-seat-overage" data-pulsar="seat-overage" viewBox="0 0 160 96"><rect width="104" height="12" x="28" y="42" fill="currentColor" fill-opacity=".08" stroke="currentColor" stroke-width="1.25" opacity=".3" rx="6"></rect><line x1="104" x2="104" y1="36" y2="60" stroke="currentColor" stroke-dasharray="2 2" stroke-width="1.25" opacity=".6"></line><rect width="76" height="12" x="28" y="42" fill="var(--pulsar-accent, currentColor)" fill-opacity=".25" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" class="seat-overage-bar" rx="6"></rect><g class="seat-overage-warn"><circle cx="120" cy="28" r="6" fill="var(--pulsar-accent, currentColor)"></circle><line x1="120" x2="120" y1="25" y2="29" stroke="currentColor" stroke-linecap="round" stroke-width="1.25"></line><circle cx="120" cy="31.5" r=".75" fill="currentColor"></circle></g></svg>
animation.css
.pulsar-seat-overage {
display: block;
overflow: visible;
}
.pulsar-seat-overage .seat-overage-bar {
animation: seat-overage-bar-anim 4200ms cubic-bezier(0.2, 1, 0.3, 1) infinite;
}
.pulsar-seat-overage .seat-overage-warn {
animation: seat-overage-warn-anim 4200ms ease infinite;
transform-origin: 120px 28px;
}
@keyframes seat-overage-bar-anim {
0%,
15% {
width: 60px;
}
45%,
80% {
width: 92px;
}
92%,
100% {
width: 60px;
}
}
@keyframes seat-overage-warn-anim {
0%,
25% {
transform: scale(0);
opacity: 0;
}
45%,
80% {
transform: scale(1.1);
opacity: 1;
}
90%,
100% {
transform: scale(0);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-seat-overage .seat-overage-bar,
.pulsar-seat-overage .seat-overage-warn {
animation: none;
}
}