Portal UI

Avatar

An image element with a fallback for representing the user.

Boy CN
<x-portal::avatar>
    <x-portal::avatar.image src="https://avatars.githubusercontent.com/u/124599?v=4" alt="Boy" />
    <x-portal::avatar.fallback>CN</x-portal::avatar.fallback>
</x-portal::avatar>

Publishing Component

If you want to customize the components, you can publish them by running the following command :

php artisan vendor:publish --tag=portal-ui:avatar --force