Import
Basic usage
UpgradeNudge (which triggers automatically), UpgradePrompt is placed manually wherever you want an upgrade CTA.
Props
string
The feature that requires an upgrade.
string
Prompt title.
string
Prompt description.
boolean
Whether this prompt is shown because a quota was exceeded.
number
Current usage count (shown when
isQuotaExceeded is true).number
Usage limit (shown when
isQuotaExceeded is true).() => void
Called when the upgrade button is clicked.
string
Custom CSS class name.
CompactUpgradePrompt
A smaller inline variant for toolbars and sidebars.Props
string
Feature key.
() => void
Upgrade button handler.
string
Custom CSS class.