View laravel-hotwire on GitHub
1M
v0.91.0
Search 71 components and 72 controllers by name, category or description.
Alert Dialog
Accessible inline or shared confirmation dialog for links, forms and Turbo actions
Confirmation dialog
<hw:form :action="route('destructive')" method="post">
<hw:alert-dialog
title="Delete project?"
description="This action cannot be undone. The project and its tasks will be removed."
confirm-label="Delete"
confirm-variant="destructive"
>
<hw:button type="submit" variant="destructive">Delete project</hw:button>
</hw:alert-dialog>
</hw:form>