Preview
Attention RequiredPlease review your settings before proceeding with this action.
Usage
Props
The main alert message content.
The alert color theme. Options:
info, danger, success, warning.Optional title displayed above the message.
Optional Filament icon name to display.
Size of the icon. Options:
Small, Medium, Large.Color Variants
Info
InformationThis is an informational message to help guide the user.
Success
SuccessYour changes have been saved successfully.
Warning
WarningThis action may have unintended consequences. Please proceed with caution.
Danger
ErrorSomething went wrong. Please try again or contact support.
Examples
Alert Without Title
You can create alerts without a title for simpler messages.
Alert Without Icon
Using in Forms
Alerts are commonly used to display validation summaries or important notices in forms:Blade Component Source
The Alert component is located atpackages/admin/resources/views/components/alert.blade.php: