<SubscriptionBadge> renders a small badge showing the tenant’s current subscription status. Useful in headers, settings pages, or user menus.
Usage
Output Examples
| Status | Badge |
|---|---|
active | Active (green) |
trialing | Trial (blue) |
past_due | Past Due (yellow) |
canceled | Canceled (red) |
none | No Plan (gray) |
Props
| Prop | Type | Default | Description |
|---|---|---|---|
showPlanName | boolean | false | Append plan name to the badge (e.g., “Pro · Active”) |
className | string | Additional CSS classes |