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 add https://better-auth-ui.com/r/user-avatar.jsonProps
Prop
Type
Last updated on