Styling notifications
Notifications have dedicated CSS classes you can hook into to apply your own styling:filament-notificationsfilament-notifications-notificationfilament-notifications-iconfilament-notifications-titlefilament-notifications-close-buttonfilament-notifications-datefilament-notifications-bodyfilament-notifications-actions
Custom notification view
If your desired customization can’t be achieved using the CSS classes above, you can create a custom view to render the notification. To configure the notification view, call the staticconfigureUsing() method inside a service provider’s boot() method and specify the view to use:
resources/views/notifications/notification.blade.php. The view should use the package’s base notification component for the notification functionality and pass the available $notification variable through the notification attribute. This is the bare minimum required to create your own notification view:
Custom notification object
Maybe your notifications require additional functionality that’s not defined in the package’sNotification class. Then you can create your own Notification class, which extends the package’s Notification class. For example, your notification design might need a size property.
Your custom Notification class in app/Notifications/Notification.php might contain:
Notification class into the container inside a service provider’s boot() method:
Notification class in the same way as you would with the default Notification object.