Expiration
CSSAn hourglass icon empties next to a seat card, causing the card active outline to dissolve into dots.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.4 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Workflow and approvals, Scheduling and time
- Industries
- SaaS and software, Cross-industry
- Style
- Duotone · light stroke
- Set
- seat
- Tags
- circleringfademinimalprogress
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-expiration" data-pulsar="seat-expiration" viewBox="0 0 160 96"><rect width="54" height="52" x="62" y="22" fill="currentColor" fill-opacity=".05" stroke="currentColor" stroke-width="1.25" class="seat-expiration-card" rx="8"></rect><circle cx="89" cy="42" r="5" fill="currentColor" opacity=".5"></circle><path fill="currentColor" d="M80 56c0-4 4-6 9-6s9 2 9 6" opacity=".5"></path><g class="seat-expiration-timer"><circle cx="44" cy="48" r="14" stroke="currentColor" opacity=".2"></circle><circle cx="44" cy="48" r="14" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="88" stroke-width="1.5" class="seat-expiration-ring"></circle><path stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-linejoin="round" d="M41 43h6l-3 5-3 5h6"></path></g></svg>
animation.css
.pulsar-seat-expiration {
display: block;
overflow: visible;
}
.pulsar-seat-expiration .seat-expiration-ring {
animation: seat-expiration-drain-anim 4400ms linear infinite;
transform-origin: 44px 48px;
transform: rotate(-90deg);
}
.pulsar-seat-expiration .seat-expiration-card {
animation: seat-expiration-dissolve-anim 4400ms ease infinite;
}
@keyframes seat-expiration-drain-anim {
0% {
stroke-dashoffset: 0;
}
75%,
100% {
stroke-dashoffset: 88;
}
}
@keyframes seat-expiration-dissolve-anim {
0%,
25% {
stroke-dasharray: none;
opacity: 0.8;
}
65%,
85% {
stroke-dasharray: 2 4;
opacity: 0.25;
}
100% {
stroke-dasharray: none;
opacity: 0.8;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-seat-expiration .seat-expiration-ring,
.pulsar-seat-expiration .seat-expiration-card {
animation: none;
}
}