Quota Progress

Quota usage progress indicator

SaaSTenant Admin

Overview

QuotaProgress shows a labeled progress bar tracking resource consumption (e.g., API requests, storage, seats) against a defined limit. When usage reaches 80% or above, the bar turns yellow and a warning message appears. The bar caps at 100% visually even if the quota is exceeded.

Usage

import { QuotaProgress } from "@leanicon/web-builder-library/saas";

<QuotaProgress
  quota={{
    resource: "API Requests",
    used: 42500,
    limit: 100000,
    unit: "requests",
  }}
/>;

Variants

Default

API Requests42,500 / 100,000 requests

Dark

API Requests42,500 / 100,000 requests

Near Limit

Storage8,700 / 10,000 MB

Warning: You are approaching your quota limit

At Capacity

Team Members25 / 25 seats

Warning: You are approaching your quota limit

Props

NameTypeDefaultRequiredDescription
quota{ resource: string; used: number; limit: number; unit: string; }—Yes