Avatar

An image element with a fallback for representing the user.

@yungifez
YI
Component Code
<april:avatar>
<slot:image src="https://github.com/yungifez.png" alt="@yungifez">
</slot:image>
<slot:fallback>YI</slot:fallback>
</april:avatar>

Publishing Views

Use the following command to publish this view:

php artisan april:publish avatar
April UI keeps package views in `vendor/` by default. The command uses Laravel's vendor publishing system and copies overrides to `resources/views/vendor/april/components`. To publish all components, run:
php artisan april:publish --all
Review local overrides after an upgrade with `php artisan april:update --diff`.