Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

function SignOutButton(props?: SignOutButtonProps): Element;
A button that signs the user out.

Parameters

ParameterTypeDescription
props?SignOutButtonPropsThe props for the component.

Returns

Element The rendered component.

Examples

// Render a sign out button
<SignOutButton onSuccess={() => console.log("Sign out success")} />
// Render a sign out button with a custom label, size, and variant
<SignOutButton size="sm" variant="secondary">Log out</SignOutButton>
// Render a sign out button with a custom button element
<SignOutButton asChild>
  <button className="custom-button">Log out</button>
</SignOutButton>