{{# @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="icon" attr:alt="" attr:aria-hidden="true" attr:class=" size-5 motion-safe:transition-colors {{ fill === 'stroke' ? 'stroke-current' : 'fill-current' }} { switch( (type == 'notice') => 'text-gray-700', (type == 'tip') => 'text-blue-700', (type == 'warning') => 'text-yellow-700', (type == 'success') => 'text-green-700', (type == 'important') => 'text-red-700', () => 'text-gray-700' )} " }}
{{ if content }}

{{ content }}

{{ /if }} {{ slot }}