astralyxdev

Rate Limit Meter

Dashboards 34

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

    26
  • Checkout Summary

    Checkout Summary

    22
  • IP Cluster

    IP Cluster

    12
  • Migration List

    Migration List

    11
  • Budget Guard

    Budget Guard

    11
  • Prompt Versions

    Prompt Versions

    10
  • Attribution

    Attribution

    9
  • MCP Capability Matrix

    MCP Capability Matrix

    8

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Sidebar

    Sidebar

    384
  • Stat Card

    Stat Card

    30
  • Fitness Bento Grid

    Fitness Bento Grid

    32
  • SaaS Template

    SaaS Template

    2.7K
  • Stats Bento

    Stats Bento

    1.2K
  • Course Design Cards

    Course Design Cards

    1.3K
  • Data Grid Table

    Data Grid Table

    16