Render a user's avatar using the <x-waterhole::avatar> component. If the user is null, an "anonymous" avatar will be emitted. Add the link property to wrap the avatar in a link to the user's profile.
<x-waterhole::avatar :user="$user" link style="width: 48px"/>