Components
<SignOut />
Renders a Solid sign-out view that ends the session on mount and returns to sign in.
Usage
import { SignOut } from "@/components/auth/sign-out"
export function SignOutDemo() {
return <SignOut />
}Installation
npx shadcn@latest add https://better-auth-ui.com/r/solid/sign-out.jsonAfter install, src/components/auth/sign-out.tsx is app-owned. Route it through <Auth /> so the user returns to sign in after sign-out.
Props
Prop
Type
Last updated on