BETTER-AUTH. UI
Components

<SignOut />

A sign-out component that automatically signs the user out when mounted and displays a loading indicator.

Usage

import { SignOut } from "@better-auth-ui/heroui"

function RouteComponent() {
  return (
    <div className="flex flex-col p-4 md:p-6 my-auto items-center">
      <SignOut />
    </div>
  )
}

Props

Prop

Type

Last updated on

On this page