Seat Usage & Limits
How many seats you are paying for, counted the way the invoice counts them — with the date the bill changes and what the overage costs written out.
The decision inside it
Pending invites hold a seat
A meter that counts only accepted members is wrong in exactly the week an admin sends six invites, and right again on the Friday the bill explains it.
Installation
How you get it
One command. The CLI writes the file into components/ui/ and installs what it needs.
npx shadcn@latest add https://layropro.com/r/seat-usagePro components need the CLI token from your account page. Put it in your environment as LAYRO_KEY and use the namespaced form.
API
“Copy prompt” above puts a full brief on your clipboard — install command, dependencies, props, and the mistakes an assistant usually makes with this component.
Props
Read from the component’s own TypeScript interface when the site is built, so this table cannot drift from the file you install.
| Prop | Type | Notes |
|---|---|---|
active | number | People who have accepted and hold a seat. |
pending | number | Invites sent and not yet accepted. These hold a seat too. |
limit | number | Seats the plan includes. |
pricePerSeat | number | Per seat, per month, in whole currency units. |
currency | string | Currency symbol. Default `$`. |
plan | string | Plan name, shown in the header. |
renewsOn | string | When the next invoice lands: "14 Oct". |
title | string | — |
controls | boolean | Show the demo controls that add and revoke an invite. |
onInvite | () => void | — |
onRevoke | () => void | — |
Dependencies
npm packages
clsxframer-motionlucide-reacttailwind-mergeLayro foundations, installed alongside it
layro-themeLifetime access
Every component, and everything we ship next.
- All 65 components, source included
- The template, and everything released after you buy
- shadcn CLI or download — React 18/19, Tailwind v4
- One payment. No subscription.