Skip to content
Added 2 Sept 2026
Back to library
rate-limit-alert-15733
Rate Limit Alert
Alerts & Toasts

Rate Limit Alert

Throttling notice showing the allowance as ten discrete tokens rather than a bar, each pip flashing bright as it drops back into the bucket one at a time.

Alerts & Toastsrate-limittokensbucketthrottleapi
lines of CSS
57lines of CSS
dependencies
0dependencies
browser, for years
Everybrowser, for years
stops under reduced motion
Guardedstops under reduced motion
Backdrop
Rate limit reachedrefilling

The bucket takes back one request every 6 seconds.

Open a live copy in

Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.

rate-limit-alert-15733.css
.fx-v14-al-ratelimit-15732 {
  width: 244px;
  padding: 0.7rem 0.8rem 0.75rem;
  background: #131320;
  border: 1px solid #3f3a63;
  border-radius: 0.55rem;
  color: #ddd6fe;
}
.fx-v14-al-ratelimit-15732 .h { display: flex; align-items: baseline; justify-content: space-between; }
.fx-v14-al-ratelimit-15732 b { font-size: 0.79rem; color: #e9d5ff; }
.fx-v14-al-ratelimit-15732 em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #818cf8;
}
.fx-v14-al-ratelimit-15732 .bk { display: flex; gap: 4px; margin: 0.55rem 0 0.5rem; }
.fx-v14-al-ratelimit-15732 .bk i {
  flex: 1;
  height: 14px;
  border-radius: 3px;
  background: #241f3d;
  box-shadow: inset 0 0 0 1px rgba(129,140,248,0.22);
  animation: fx-v14-al-ratelimit-15732-refill 12s linear infinite;
}
.fx-v14-al-ratelimit-15732 .bk i:nth-child(1)  { animation-delay: 0s; }
.fx-v14-al-ratelimit-15732 .bk i:nth-child(2)  { animation-delay: 0.5s; }
.fx-v14-al-ratelimit-15732 .bk i:nth-child(3)  { animation-delay: 1s; }
.fx-v14-al-ratelimit-15732 .bk i:nth-child(4)  { animation-delay: 1.5s; }
.fx-v14-al-ratelimit-15732 .bk i:nth-child(5)  { animation-delay: 2s; }
.fx-v14-al-ratelimit-15732 .bk i:nth-child(6)  { animation-delay: 2.5s; }
.fx-v14-al-ratelimit-15732 .bk i:nth-child(7)  { animation-delay: 3s; }
.fx-v14-al-ratelimit-15732 .bk i:nth-child(8)  { animation-delay: 3.5s; }
.fx-v14-al-ratelimit-15732 .bk i:nth-child(9)  { animation-delay: 4s; }
.fx-v14-al-ratelimit-15732 .bk i:nth-child(10) { animation-delay: 4.5s; }
.fx-v14-al-ratelimit-15732 p { margin: 0; font-size: 0.68rem; color: #8b87b8; }
@keyframes fx-v14-al-ratelimit-15732-refill {
  0%, 4%    { background: #241f3d; box-shadow: inset 0 0 0 1px rgba(129,140,248,0.22); }
  9%        { background: #c7d2fe; box-shadow: 0 0 12px rgba(165,180,252,0.85); }
  14%, 100% { background: #6366f1; box-shadow: inset 0 0 0 1px rgba(165,180,252,0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .fx-v14-al-ratelimit-15732,
  .fx-v14-al-ratelimit-15732::before,
  .fx-v14-al-ratelimit-15732::after,
  .fx-v14-al-ratelimit-15732 *,
  .fx-v14-al-ratelimit-15732 *::before,
  .fx-v14-al-ratelimit-15732 *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}
rate-limit-alert-15733.html
<div class="fx-v14-al-ratelimit-15732">
  <div class="h">
    <b>Rate limit reached</b>
    <em>refilling</em>
  </div>
  <div class="bk">
    <i></i>
    <i></i>
    <i></i>
    <i></i>
    <i></i>
    <i></i>
    <i></i>
    <i></i>
    <i></i>
    <i></i>
  </div>
  <p>The bucket takes back one request every 6 seconds.</p>
</div>

What do I do with this?

  1. Put rate-limit-alert-15733.css anywhere your page already loads CSS from — in Next.js that is app/globals.css, or any stylesheet with a <link> in your HTML.
  2. Then put the class on the element you want it on: <button class="fx-v14-al-ratelimit-15732">. The CSS does nothing until a class name in it matches something on the page.
  • Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add rate-limit-alert-15733

What's included

  • The markup and the stylesheet, in whichever framework you pick
  • No runtime dependencies

Works with

  • React
  • Vue
  • Svelte
  • Tailwind
  • styled-components
  • Plain CSS

npx hoverlab add rate-limit-alert-15733

Or over MCP, from your editor's agent — no account needed.

License

Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.

Was this useful?

Motion safety

Static estimate, read from the CSS

Reduced motion
Guarded

Ships a prefers-reduced-motion block, so the loop settles into its end state for visitors who ask for less motion.

What it animates
Repaints

Animates background, box-shadow. No reflow, but the browser repaints every frame, which is fine for one element and costly across many.

Flashing (WCAG 2.3.1)
Under 3 flashes/s

Its brightest loop is about 0.1 a second. Estimated from duration, iterations and keyframes, not from rendered frames.

Layout shift (CLS)
No shift expected

Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.

Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed

30 more effects in Alerts & Toasts

All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.

Browse Alerts & Toasts

Shipping one commercially

Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.

  • A commercial licence for everything in the catalog
  • Unlimited bundle exports, in Vue, Svelte and Tailwind
  • One payment — no subscription, nothing to renew
Pro — $79 once

7 variations of Rate Limit Alert

Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.