Need a custom feature? We can help!

Component Button Customer Portal

The Button Customer Portal component provides direct access to Stripe's Customer Portal, allowing users to manage their subscriptions, view billing history, and update payment methods. It handles loading states and automatically redirects users to their personalized portal.

Tip: Use this component in account settings, billing pages, or dashboard sections where users need to manage their subscription details. It's particularly effective for reducing support tickets by giving users self-service capabilities.

Import

1import { ButtonCustomerPortal } from "@/components/button-customer-portal/button-customer-portal";

Props

The ButtonCustomerPortal component accepts all standard Button props from shadcn/ui, including:

  • className: string - Custom CSS classes
  • disabled: boolean - Disable button state
  • children: React.ReactNode - Custom button content

For more information about: