<!-- Snackbar -->
<div x-data="{ show: false }" x-init="function() { setTimeout(() => { this.show = false; }, 5000);}">
<!-- trigger snackbar -->
<button @click="show = true" class="frame-corner inline-flex olwuyhsbcnmdj thsjkalsueijm qaksleiuryhnv yujamnshjekwn py-2 uppercase font-medium border border-primary-600 text-primary-600 hover:border-primary-300 hover:text-black focus:text-black focus:border-primary-300 hover:bg-primary-300 focus:bg-primary-300 focus:outline-none focus:ring-0">Show snackbar</button>
<!-- Snackbar -->
<div x-show="show" style="display:none"
x-transition:enter="transition-transform duration-[400ms]"
x-transition:enter-start="translate-y-full"
x-transition:enter-end="translate-y-0"
x-transition:leave="transition-transform duration-[400ms]"
x-transition:leave-start="translate-y-0"
x-transition:leave-end="translate-y-full"
class="z-[60] fixed bottom-4 end-4 flex lkagdteuqnvdg olwuyhsbcnmdj w-5/6 sm:w-96 ghsnkalieksml py-4 yujamnshjekwn shadow-md rounded bg-primary-950 border border-primary-600 text-primary-300">
<p class="flex flex-grow text-sm tracking-[0.25px]">Single-line snackbar</p>
<button @click="show = false" class="flex olwuyhsbcnmdj">
<span class="bi bi-x-lg"></span>
</button>
</div>
</div>