{{# @name Notification @desc The notification component. Currently used in `resources/views/page_builder/_form.antlers.html`. @param* type The type of notification: `success`, `notice`, or `error`. @param content The notification content. @param class Add custom CSS classes. #}}
{{ svg :src="type" attr:alt="" attr:aria-hidden="true" attr:class=" h-5 w-5 fill-current motion-safe:transition-colors { switch( (type == 'success') => 'text-green-700', (type == 'notice') => 'text-yellow-700', (type == 'error') => 'text-red-700', () => 'text-gray-700' )} " }}
{{ if content }}

{{ content }}

{{ /if }} {{ slot }}