---
title: "Usage card"
description: "A plan's limits for the period as meters with used and allowed, warnings near the limit and an add-more link at it."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/usage-card
---

# Usage card

A plan's limits for the period as meters with used and allowed, warnings near the limit and an add-more link at it.

Each limit is a meter with its label and “used / allowed” in tabular figures. Screen readers hear the same, with “nearly full” or “limit reached” added. From 90% a row says how much is left before the reset; at 100% it says what has stopped, in the error colour, with an icon and the words, so it never rests on colour. An add-on link at the limit raises it on the spot and announces the new figures. Upgrade plan sits in the header; pass loading for skeleton rows.

A Pro block built on Base UI and Tailwind CSS v4.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/usage-card
```

## Dependencies
- npm: lucide-react@^1.33.0
- edbn: edbn-base, button, card, meter, skeleton, text-link

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More dashboards blocks

All 5, with install commands: https://ui.edbn.me/docs/blocks/dashboards · https://ui.edbn.me/docs/blocks/dashboards.md

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
