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

    24
  • Checkout Summary

    Checkout Summary

    21
  • Migration List

    Migration List

    10
  • IP Cluster

    IP Cluster

    9
  • Budget Guard

    Budget Guard

    9
  • Prompt Versions

    Prompt Versions

    8
  • Attribution

    Attribution

    8
  • Health Checks

    Health Checks

    7

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Sidebar

    Sidebar

    369
  • Fitness Bento Grid

    Fitness Bento Grid

    19
  • Financial Bento Grid

    Financial Bento Grid

    120
  • SaaS Template

    SaaS Template

    2.6K
  • Card

    Card

    251
  • Stats Bento

    Stats Bento

    1.2K
  • Course Design Cards

    Course Design Cards

    1.3K