Button Billing


A button to navigate users to the Stripe billing portal. Use it to provide billing and subscription management.

Button Billing

Under the hood, it calls the Stripe API to create a portal link for the authenticated user. The billing portal will like this:

Portal Billing



import ButtonBilling from "@/components/ButtonBilling";
 
...
 
<ButtonBilling />

⚠️ The component relies on Supabase for authentication and Stripe for creating the portal link. Make sure your Supabase client and Stripe keys are configured correctly.


Last Updated: March 5