Skip to main content

Overview

The SuccessModal component displays a modal to inform the user that their subscription plan is now active. It includes details about the active plan and its entitlements, and provides a button to close the modal and continue using the application.

Import

Usage

Component Code

Customization

The SuccessModal 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. Plan Details: Customize the displayed plan details and entitlements to better fit your application’s needs.
  3. Loading Indicator: Change the loading indicator to match your application’s design.
  4. Icons: Change the success and vector icons to fit the branding of your application.

Example Customization

Usage Guide

  • Import and Use: Import the SuccessModal component into your page or parent component and include it in the JSX.
  • Handle Actions: Ensure to provide logic for closing the modal and any other actions required.
  • Customization: Leverage the customization options to fit the component into your application’s design and functionality requirements.

Placeholder for Images

SuccessModal Component Screenshot