Hiyve Components - v1.0.0
    Preparing search index...
    • Displays the authenticated user's profile with avatar, name, email, verification status, and an optional logout button.

      Renders nothing when no user is authenticated. The avatar shows the user's initials with a deterministic color.

      Parameters

      Returns Element | null

      Key Features:

      • Avatar with initials and deterministic color from user ID
      • Email verification badge (verified / unverified)
      • Optional logout button
      • Customizable labels, colors, styles, and icons
      <UserProfile
      onLogout={() => navigate('/login')}
      colors={{ logoutButton: '#d32f2f' }}
      />