Quota Banner
Usage remaining, reset timing, and an upgrade path without hiding the limit.
Installation
Add the component source directly to your project.
pnpm dlx shadcn@latest add https://pastaui.com/r/quota-banner.jsonAPI reference
Quota Banner
| Prop | Type | Default | Description |
|---|---|---|---|
used / limit | number | — | Defines usage and the maximum allowance. |
resetsAt | string | — | Explains when the quota replenishes. |
onUpgrade | () => void | — | Opens the plan or usage settings. |