toasts.shift(), 4000)"
data-initial-message=""
data-initial-type="error"
class="fixed bottom-4 right-4 z-50 flex flex-col gap-2"
aria-live="polite"
>
t.id !== toast.id)"
:class="toast.type === 'error' ? 'bg-error' : 'bg-success'"
class="cursor-pointer rounded px-4 py-3 text-sm text-white shadow-lg"
x-text="toast.message"
role="status"
>