astralyxdev

Rate Limit Meter

Dashboards 38

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

    28
  • Checkout Summary

    Checkout Summary

    22
  • Migration List

    Migration List

    12
  • IP Cluster

    IP Cluster

    12
  • Budget Guard

    Budget Guard

    12
  • Prompt Versions

    Prompt Versions

    10
  • MCP Capability Matrix

    MCP Capability Matrix

    9
  • Attribution

    Attribution

    9

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Stat Card

    Stat Card

    46
  • Sidebar

    Sidebar

    392
  • Chart Component

    Chart Component

    11
  • SaaS Template

    SaaS Template

    2.7K
  • Fitness Bento Grid

    Fitness Bento Grid

    42
  • Financial Bento Grid

    Financial Bento Grid

    129
  • Course Design Cards

    Course Design Cards

    1.3K