# Usage Limit Upgrade block

> Pricing dialog with framed plan cards, billing tabs and a feature table

Usage limit upgrade modal: 3 framed plan cards under Monthly or Yearly tabs, a collapsible feature table and a current plan strip with bookings left. Narrow screens get a plan rail. Built on Dialog, Frame, Tabs, Collapsible. For paywall, plan picker.

- Type: Pro block
- Category: [Pricing](https://web.dev.reui.io/blocks/marketing/pricing.md)
- Page: https://web.dev.reui.io/blocks/marketing/pricing/pricing-8
- MCP: `get_block("pricing-8")`
- Built with: Badge, Button, Dialog, Empty, Frame, Icon Tile, Item, Label, Radio Group, Scroll Area, Separator, Table, Tabs
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A modal of 3 Frame plan cards over a sectioned feature table, with a radio rail and bill footer only on narrow screens

## Agent notes

- The `Empty` stage and its `stageTitle` copy script a bookings limit, and `open` starts `true`; drive `open` from your real limit event
- `FEATURE_GROUPS` is the one source of table rows, and each `PLANS` entry picks card lines by row `id` through `featureLine`
- Below md only the `selected` `PlanCard` shows and the dialog footer carries the action; from md each card has its own `Button`

## When not to use

- One plan's features shown in a detail panel beside a radio rail of plans: use [Upgrade Plan Dialog](https://web.dev.reui.io/blocks/marketing/pricing/pricing-7.md) (`get_block("pricing-7")`)
- A section of 4 tier cards with Free and Enterprise ends, laid out on a page: use [Pricing FAQ Links](https://web.dev.reui.io/blocks/marketing/pricing/pricing-5.md) (`get_block("pricing-5")`)

## Install

```bash
npx shadcn@latest add @reui/pricing-8
```

## About Pricing blocks

### When to use

- A public plans section with 3 or 4 tiers side by side, each with a price, its inclusions and its own button
- A plan comparison matrix that lines up each tier's limits and included features row by row
- An upgrade dialog or paywall inside the product, where a user picks a plan and a billing period

### When not to use

- A back office where staff edit the plan catalog, coupons or a customer's subscription: use the [Billing blocks](https://web.dev.reui.io/blocks/solutions/billing.md)
- Store products weighed side by side on specs and star ratings before a purchase: use the [Comparison blocks](https://web.dev.reui.io/blocks/ecommerce/comparison.md)
- One plan choice made as a single input inside a signup or checkout form: use [Radio Group](https://web.dev.reui.io/components/radio-group.md) (`get_component("radio-group")`)

### Agent notes

- Each plan's `href` in `PLANS` is a hash placeholder that its plan button links to; point it at your signup, checkout or sales route
- Plan prices print through a `currency` formatter pinned to en-US dollars with `maximumFractionDigits` 0; edit it for cents or another currency

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
