Skip to main content

Overview

The UpgradeModal component provides a user interface for prompting users to upgrade their subscription plan or start a trial. It displays the benefits of upgrading and includes a button to either upgrade the plan or start a trial.

Import

Usage

Component Code

Customization

The UpgradeModal component can be customized in various ways to fit different requirements:
  1. Styles and Classes: Modify the Tailwind CSS classes to change the appearance of the modal and its elements.
  2. Icons: Change the icons used to fit the branding of your application.
  3. Plan Details: Customize the displayed plan details and benefits to better fit your application’s needs.
  4. Button Actions: Modify the actions taken when the “Upgrade Plan” or “Try 7 Days Trial” buttons are clicked.

Example Customization

Usage Guide

  • Import and Use: Import the UpgradeModal component into your page or parent component and include it in the JSX.
  • Handle Actions: Ensure to provide logic for handling plan upgrades and starting trials.
  • Customization: Leverage the customization options to fit the component into your application’s design and functionality requirements.

Placeholder for Images

UpgradeModal Component Screenshot