Tooltip

A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.

Add to library

Component Code
<april:tooltip>
<slot:trigger>
<april:button variant="outline">Hover</april:button>
</slot:trigger>
<slot:content>
<p>Add to library</p>
</slot:content>
</april:tooltip>

Publishing Views

Use the following command to publish this view:

php artisan april:publish tooltip
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`.