Alpine ausblenden Element nach der festgelegten Zeit
<div x-data="{ show: true}"
x-init="setTimeout(() => show = false, 4000)"
x-show="show"
class="fixed bottom-3 right-3 bg-blue-500 text-white py-2 px-4 rounded-xl text-xs">
<p>I will disappear after 4 seconds</p>
</div>
DJ Ultimate Disco Party