astralyxdev

Rate Limit Meter

Dashboards 26

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

    18
  • Checkout Summary

    Checkout Summary

    13
  • Migration List

    Migration List

    8
  • Prompt Versions

    Prompt Versions

    7
  • IP Cluster

    IP Cluster

    7
  • Budget Guard

    Budget Guard

    7
  • Health Checks

    Health Checks

    6
  • Attribution

    Attribution

    6

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.5K
  • Sidebar

    Sidebar

    286
  • SaaS Template

    SaaS Template

    2.5K
  • Course Design Cards

    Course Design Cards

    1.1K
  • Chat template

    Chat template

    614
  • System Status Block

    System Status Block

    316
  • Statistics Card 7

    Statistics Card 7

    301
  • Bar Chart

    Bar Chart

    1