Skip to content

Button Account

button-account.html button-account-dark.html

your_template.html
{% include 'components/button-account.html' %}

A dropdown menu button for user account management that provides access to:

  • Billing: Opens the Stripe Customer Portal where users can:
    • Get their invoice/receipt
    • Manage subscriptions
    • Update payment methods
    • View billing history
    • Cancel subscriptions
  • Logout: Signs out the user and redirects to the homepage

Note

The Customer Portal must be activated in your Stripe Dashboard and is only available for customers with a Stripe customerId (previous purchasers)

The button is automatically hidden for non-authenticated users. This component is integrated with Stripe Subscriptions and is rendered in the header by default.