Application Toasts With action button

Live Preview
<div role="alert" class="rounded-md border border-blue-500 bg-blue-50 p-4 shadow-sm">
      <div class="flex items-start gap-4">
        <svg
          xmlns="http://www.w3.org/2000/svg"
          fill="none"
          viewBox="0 0 24 24"
          stroke-width="1.5"
          stroke="currentColor"
          class="-mt-0.5 size-6 text-blue-700"
        >
          <path
            stroke-linecap="round"
            stroke-linejoin="round"
            d="m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"
          />
        </svg>

        <div class="flex-1">
          <strong class="block leading-tight font-medium text-blue-800"> Info </strong>

          <p class="mt-0.5 text-sm text-blue-700">
            Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ducimus, dignissimos.
          </p>

          <button
            class="mt-2 inline-block rounded-sm border border-blue-600 bg-blue-600 px-4 py-2 text-sm/none font-medium text-white hover:bg-transparent hover:text-blue-600"
            type="button"
          >
            Accept
          </button>
        </div>
      </div>
    </div>

Related components

More items from the merged UI library.

View all