BETTER-AUTH. UI
Components

<UserButton />

Renders a user button with dropdown menu showing user info and sign out option.

Usage

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

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

Props

Prop

Type

Last updated on

On this page