Skip to main content
A button that signs out the current user, clears auth state, and redirects to a specified URL.

Properties

PropertyTypeDescriptionDefault
Button TextStringButton labelSign Out
Redirect URLStringWhere to redirect after logout/
Style VariantEnumVisual style (default, outline, ghost)default

Features

  • Clears all authentication tokens and session data
  • Redirects to home or custom URL after sign-out
  • Multiple style variants
  • Customizable button text

Usage

Place on authenticated pages — typically in the header, sidebar, or account menu.