Components
<UserAvatar />
Renders the current user's avatar using session data. Shows a skeleton while loading and falls back to initials when no image is available.
Usage
import { UserAvatar } from "@/components/auth/user/user-avatar"
export function UserAvatarDemo() {
return <UserAvatar />
}Installation
npx shadcn@latest registry add @better-auth-ui=https://better-auth-ui.com/r/{style}/{name}.jsonnpx shadcn@latest add @better-auth-ui/user-avatarProps
Prop
Type
Last updated on