Skip to main content
<SubscriptionBadge> renders a small badge showing the tenant’s current subscription status. Useful in headers, settings pages, or user menus.

Usage

import { SubscriptionBadge } from 'crovver-react';

<SubscriptionBadge />

Output Examples

StatusBadge
activeActive (green)
trialTrial (blue)
past_duePast Due (yellow)
canceledCanceled (red)
noneNo Plan (gray)

Props

<SubscriptionBadge> accepts no props. The plan name and badge styling are determined automatically from the tenant’s active subscription.