astralyxdev

Rate Limit Meter

Dashboards 18

About

A quota display that pairs the remaining count with its reset time and a burn-rate warning, so a scary number isn't shown without the context that makes it harmless.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Rate Limit Meter to your project and fits it to your theme.

Code

How Rate Limit Meter is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import RateLimitMeter from "@/components/ui/rate-limit-meter";

const NOW = new Date("2026-09-02T08:00:00");

export default function RateLimitMeterDemo() {
  return (
    <div className="flex w-full max-w-xl flex-col gap-3">
      <RateLimitMeter
        limit={5_000}
        remaining={4_120}
        resetAt={new Date(NOW.getTime() + 22 * 60_000)}
        now={NOW}
      />
      <RateLimitMeter
        limit={5_000}
        remaining={80}
        resetAt={new Date(NOW.getTime() + 4 * 60_000)}
        now={NOW}
      />
    </div>
  );
}

More by astralyxdev

View all
  • Note Graph

    Note Graph

    13
  • Prompt Versions

    Prompt Versions

    7
  • Migration List

    Migration List

    7
  • IP Cluster

    IP Cluster

    7
  • Checkout Summary

    Checkout Summary

    7
  • Odds Display

    Odds Display

    5
  • Budget Guard

    Budget Guard

    5
  • Attribution

    Attribution

    5

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.4K
  • Sidebar

    Sidebar

    227
  • SaaS Template

    SaaS Template

    2.4K
  • Financial Bento Grid

    Financial Bento Grid

    68
  • Chat template

    Chat template

    597
  • Stats Bento

    Stats Bento

    1.1K
  • Stats cards with links

    Stats cards with links

    39
  • Statistics Card 2

    Statistics Card 2

    260