Preview
Usage
Props
string
required
The main alert message content.
string
default:"warning"
The alert color theme. Options:
info, danger, success, warning.string
default:"null"
Optional title displayed above the message.
string
default:"null"
Optional Filament icon name to display.
IconSize
default:"Medium"
Size of the icon. Options:
Small, Medium, Large.Color Variants
Info
Success
Warning
Danger
Examples
Alert Without Title
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: