Depletion Alert
CSSA stack of horizontal bars representing material inventory decreases from top to bottom, with the lowest bar flashing as levels reach depletion.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Decorative and illustrative
- Use cases
- Errors and warnings, Notifications
- Industries
- Manufacturing and industrial, Cross-industry
- Style
- Duotone · regular stroke
- Set
- bom
- Tags
- barspulseprogress
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-bom-depletion-alert" data-pulsar="bom-depletion-alert" viewBox="0 0 160 96"><path stroke-width="1.5" d="M50 18h-6v60h72V18h-6" opacity=".35"></path><line x1="40" x2="44" y1="62" y2="62" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" opacity=".6"></line><rect width="56" height="10" x="52" y="24" fill="currentColor" fill-opacity=".1" stroke-width="1.5" class="tier t4" rx="2"></rect><rect width="56" height="10" x="52" y="38" fill="currentColor" fill-opacity=".1" stroke-width="1.5" class="tier t3" rx="2"></rect><rect width="56" height="10" x="52" y="52" fill="currentColor" fill-opacity=".1" stroke-width="1.5" class="tier t2" rx="2"></rect><rect width="56" height="10" x="52" y="66" fill="var(--pulsar-accent, currentColor)" fill-opacity=".25" stroke="var(--pulsar-accent, currentColor)" stroke-width="2" class="tier t1" rx="2"></rect></svg>
animation.css
.pulsar-bom-depletion-alert {
display: block;
overflow: visible;
}
.pulsar-bom-depletion-alert .tier.t4 {
animation: bom-depletion-alert-t4 4000ms ease-in-out infinite;
}
.pulsar-bom-depletion-alert .tier.t3 {
animation: bom-depletion-alert-t3 4000ms ease-in-out infinite;
}
.pulsar-bom-depletion-alert .tier.t2 {
animation: bom-depletion-alert-t2 4000ms ease-in-out infinite;
}
.pulsar-bom-depletion-alert .tier.t1 {
animation: bom-depletion-alert-t1 4000ms ease-in-out infinite;
}
@keyframes bom-depletion-alert-t4 {
0%,
15% {
opacity: 0.8;
}
30%,
100% {
opacity: 0;
}
}
@keyframes bom-depletion-alert-t3 {
0%,
30% {
opacity: 0.8;
}
45%,
100% {
opacity: 0;
}
}
@keyframes bom-depletion-alert-t2 {
0%,
45% {
opacity: 0.8;
}
60%,
100% {
opacity: 0;
}
}
@keyframes bom-depletion-alert-t1 {
0%,
55% {
opacity: 0.6;
transform: scale(1);
}
65%,
85% {
opacity: 1;
stroke-width: 2.5;
transform: scale(1.02);
}
95%,
100% {
opacity: 0.6;
stroke-width: 2;
transform: scale(1);
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-bom-depletion-alert .tier.t4,
.pulsar-bom-depletion-alert .tier.t3,
.pulsar-bom-depletion-alert .tier.t2,
.pulsar-bom-depletion-alert .tier.t1 {
animation: none;
opacity: 1;
transform: none;
}
}