How cool is to have coloured and meaningfull badges near your image/ cards/ testimonials. Sounds interesting, then why waiting to check inside 😎

Normal Badges

<div class="h-full bg-rose-300">
  <div
    class="mx-auto max-w-7xl py-20 px-4 sm:px-6 lg:flex lg:items-center lg:justify-between lg:py-16 lg:px-8"
  >
    <div class="mt-8 flex rounded-lg bg-white p-2 lg:mt-0 lg:flex-shrink-0">
      <div class="flex flex-row gap-4 rounded-md shadow">
        <div class="flex flex-col gap-4">
          <h6 class="text-center font-bold text-black">Small</h6>
          <hr />
          <a
            href="https://tailwindcsscomponents.vercel.app/"
            target="_blank"
            rel="noreferrer"
            class="inline-flex items-center justify-center rounded-full border border-transparent bg-indigo-600 px-2 py-2 text-xs font-medium text-white hover:bg-indigo-700"
          >
            Badge rounded-full
          </a>
          <a
            href="https://tailwindcsscomponents.vercel.app/"
            target="_blank"
            rel="noreferrer"
            class="inline-flex items-center justify-center rounded-md border border-transparent bg-indigo-600 px-2 py-2 text-xs font-medium text-white hover:bg-indigo-700"
          >
            Badge rounded-md
          </a>
          <a
            href="https://tailwindcsscomponents.vercel.app/"
            target="_blank"
            rel="noreferrer"
            class="rounded-xs inline-flex items-center justify-center border border-transparent bg-indigo-600 px-2 py-2 text-xs font-medium text-white hover:bg-indigo-700"
          >
            Badge rounded-xs
          </a>
        </div>
        <div class="flex flex-col gap-6">
          <h6 class="text-center font-bold text-black">Base</h6>
          <hr />
          <a
            href="https://tailwindcsscomponents.vercel.app/"
            target="_blank"
            rel="noreferrer"
            class="inline-flex items-center justify-center rounded-full border border-transparent bg-indigo-600 px-3 py-4 text-base font-medium text-white hover:bg-indigo-700"
          >
            Badge rounded-full
          </a>
          <a
            href="https://tailwindcsscomponents.vercel.app/"
            target="_blank"
            rel="noreferrer"
            class="inline-flex items-center justify-center rounded-md border border-transparent bg-indigo-600 px-3 py-4 text-base font-medium text-white hover:bg-indigo-700"
          >
            Badge rounded-md
          </a>
          <a
            href="https://tailwindcsscomponents.vercel.app/"
            target="_blank"
            rel="noreferrer"
            class="rounded-xs inline-flex items-center justify-center border border-transparent bg-indigo-600 px-3 py-4 text-base font-medium text-white hover:bg-indigo-700"
          >
            Badge rounded-xs
          </a>
        </div>
        <div class="flex flex-col gap-8">
          <h6 class="text-center font-bold text-black">Large</h6>
          <hr />
          <a
            href="https://tailwindcsscomponents.vercel.app/"
            target="_blank"
            rel="noreferrer"
            class="inline-flex items-center justify-center rounded-full border border-transparent bg-indigo-600 px-4 py-4 text-lg font-medium text-white hover:bg-indigo-700"
          >
            Badge rounded-full
          </a>
          <a
            href="https://tailwindcsscomponents.vercel.app/"
            target="_blank"
            rel="noreferrer"
            class="inline-flex items-center justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-4 text-lg font-medium text-white hover:bg-indigo-700"
          >
            Badge rounded-md
          </a>
          <a
            href="https://tailwindcsscomponents.vercel.app/"
            target="_blank"
            rel="noreferrer"
            class="rounded-xs inline-flex items-center justify-center border border-transparent bg-indigo-600 px-4 py-4 text-lg font-medium text-white hover:bg-indigo-700"
          >
            Badge rounded-xs
          </a>
        </div>
      </div>
    </div>
  </div>
</div>

Badges with Dot

<div class="h-full bg-rose-300">
  <div class="bg-gray-50">
    <div
      class="mx-auto max-w-7xl py-12 px-4 sm:px-6 lg:flex lg:items-center lg:justify-between lg:py-16 lg:px-8"
    >
      <div class="mt-8 flex lg:mt-0 lg:flex-shrink-0">
        <div class="flex flex-row gap-4 rounded-md shadow">
          <div class="flex flex-col gap-5">
            <h6 class="text-center font-bold text-black">Small</h6>
            <hr />
            <a
              href="#"
              class="inline-flex items-center justify-center rounded-full border border-transparent bg-indigo-600 bg-opacity-30 px-2 py-2 text-xs font-medium text-indigo-600 hover:bg-indigo-700 hover:text-white"
              ><svg
                xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                version="1.1"
                class="mr-1 h-2 w-2"
                viewBox="0 0 31.955 31.955"
                style="enable-background: new 0 0 31.955 31.955"
                xml:space="preserve"
              >
                <circle
                  style="fill: currentColor"
                  cx="15.979"
                  cy="15.977"
                  r="6.117"
                />
              </svg>
              Badge rounded-full
            </a>
            <a
              href="#"
              class="inline-flex items-center justify-center rounded-md border border-transparent bg-indigo-600 bg-opacity-30 px-2 py-2 text-xs font-medium text-indigo-600 hover:bg-indigo-700 hover:text-white"
              ><svg
                xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                version="1.1"
                class="mr-1 h-2 w-2"
                viewBox="0 0 31.955 31.955"
                style="enable-background: new 0 0 31.955 31.955"
                xml:space="preserve"
              >
                <circle
                  style="fill: currentColor"
                  cx="15.979"
                  cy="15.977"
                  r="6.117"
                />
              </svg>
              Badge rounded-md
            </a>
            <a
              href="#"
              class="rounded-xs inline-flex items-center justify-center border border-transparent bg-indigo-600 bg-opacity-30 px-2 py-2 text-xs font-medium text-indigo-600 hover:bg-indigo-700 hover:text-white"
              ><svg
                xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                version="1.1"
                class="mr-1 h-2 w-2"
                viewBox="0 0 31.955 31.955"
                style="enable-background: new 0 0 31.955 31.955"
                xml:space="preserve"
              >
                <circle
                  style="fill: currentColor"
                  cx="15.979"
                  cy="15.977"
                  r="6.117"
                />
              </svg>
              Badge rounded-xs
            </a>
          </div>
          <div class="flex flex-col gap-6">
            <h6 class="text-center font-bold text-black">Base</h6>
            <hr />
            <a
              href="#"
              class="inline-flex items-center justify-center rounded-full border border-transparent bg-indigo-600 bg-opacity-30 px-3 py-4 text-base font-medium text-indigo-600 hover:bg-indigo-700 hover:text-white"
              ><svg
                xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                version="1.1"
                class="mr-1 h-2 w-2"
                viewBox="0 0 31.955 31.955"
                style="enable-background: new 0 0 31.955 31.955"
                xml:space="preserve"
              >
                <circle
                  style="fill: currentColor"
                  cx="15.979"
                  cy="15.977"
                  r="6.117"
                />
              </svg>
              Badge rounded-full
            </a>
            <a
              href="#"
              class="inline-flex items-center justify-center rounded-md border border-transparent bg-indigo-600 bg-opacity-30 px-3 py-4 text-base font-medium text-indigo-600 hover:bg-indigo-700 hover:text-white"
              ><svg
                xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                version="1.1"
                class="mr-1 h-2 w-2"
                viewBox="0 0 31.955 31.955"
                style="enable-background: new 0 0 31.955 31.955"
                xml:space="preserve"
              >
                <circle
                  style="fill: currentColor"
                  cx="15.979"
                  cy="15.977"
                  r="6.117"
                />
              </svg>
              Badge rounded-md
            </a>
            <a
              href="#"
              class="rounded-xs inline-flex items-center justify-center border border-transparent bg-indigo-600 bg-opacity-30 px-3 py-4 text-base font-medium text-indigo-600 hover:bg-indigo-700 hover:text-white"
              ><svg
                xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                version="1.1"
                class="mr-1 h-2 w-2"
                viewBox="0 0 31.955 31.955"
                style="enable-background: new 0 0 31.955 31.955"
                xml:space="preserve"
              >
                <circle
                  style="fill: currentColor"
                  cx="15.979"
                  cy="15.977"
                  r="6.117"
                />
              </svg>
              Badge rounded-xs
            </a>
          </div>
          <div class="flex flex-col gap-8">
            <h6 class="text-center font-bold text-black">Large</h6>
            <hr />
            <a
              href="#"
              class="inline-flex items-center justify-center rounded-full border border-transparent bg-indigo-600 bg-opacity-30 px-4 py-4 text-lg font-medium text-indigo-600 hover:bg-indigo-700 hover:text-white"
              ><svg
                xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                version="1.1"
                class="mr-1 h-2 w-2"
                viewBox="0 0 31.955 31.955"
                style="enable-background: new 0 0 31.955 31.955"
                xml:space="preserve"
              >
                <circle
                  style="fill: currentColor"
                  cx="15.979"
                  cy="15.977"
                  r="6.117"
                />
              </svg>
              Badge rounded-full
            </a>
            <a
              href="#"
              class="inline-flex items-center justify-center rounded-md border border-transparent bg-indigo-600 bg-opacity-30 px-4 py-4 text-lg font-medium text-indigo-600 hover:bg-indigo-700 hover:text-white"
              ><svg
                xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                version="1.1"
                class="mr-1 h-2 w-2"
                viewBox="0 0 31.955 31.955"
                style="enable-background: new 0 0 31.955 31.955"
                xml:space="preserve"
              >
                <circle
                  style="fill: currentColor"
                  cx="15.979"
                  cy="15.977"
                  r="6.117"
                />
              </svg>
              Badge rounded-md
            </a>
            <a
              href="#"
              class="rounded-xs inline-flex items-center justify-center border border-transparent bg-indigo-600 bg-opacity-30 px-4 py-4 text-lg font-medium text-indigo-600 hover:bg-indigo-700 hover:text-white"
              ><svg
                xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                version="1.1"
                class="mr-1 h-2 w-2"
                viewBox="0 0 31.955 31.955"
                style="enable-background: new 0 0 31.955 31.955"
                xml:space="preserve"
              >
                <circle
                  style="fill: currentColor"
                  cx="15.979"
                  cy="15.977"
                  r="6.117"
                />
              </svg>
              Badge rounded-xs
            </a>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

Closing Badge

<script src="https://cdn.tailwindcss.com"></script>
<style>
  .small,
  .big {
    transition: opacity 2s;
  }
  .remove {
    opacity: 0;
  }
</style>
<div class="h-full bg-rose-600 p-20">
  <span
    id="badge-dismiss-default"
    class="small mr-2 inline-flex items-center rounded-full bg-blue-100 py-1 px-2 text-xs font-medium text-blue-800 dark:bg-blue-200 dark:text-blue-800"
  >
    Small
    <button
      type="button"
      class="ml-2 inline-flex items-center rounded-sm bg-transparent p-0.5 text-sm text-blue-400 hover:bg-blue-200 hover:text-blue-900 dark:hover:bg-blue-300 dark:hover:text-blue-900"
      onclick="cl(1)"
    >
      <svg
        aria-hidden="true"
        class="h-3.5 w-3.5"
        aria-hidden="true"
        fill="currentColor"
        viewBox="0 0 20 20"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          fill-rule="evenodd"
          d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
          clip-rule="evenodd"
        ></path>
      </svg>
    </button>
  </span>

  <span
    id="badge-dismiss-default"
    class="big mr-2 ml-3 inline-flex items-center rounded-full bg-blue-100 py-1 px-2 text-sm font-medium text-blue-800 dark:bg-blue-200 dark:text-blue-800"
  >
    Large
    <button
      type="button"
      class="ml-2 inline-flex items-center rounded-sm bg-transparent p-0.5 text-sm text-blue-400 hover:bg-blue-200 hover:text-blue-900 dark:hover:bg-blue-300 dark:hover:text-blue-900"
      onclick="cl(0)"
    >
      <svg
        aria-hidden="true"
        class="h-3.5 w-3.5"
        aria-hidden="true"
        fill="currentColor"
        viewBox="0 0 20 20"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          fill-rule="evenodd"
          d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
          clip-rule="evenodd"
        ></path>
      </svg>
    </button>
  </span>
</div>
<script>
  let small = document.querySelector(".small");
  let big = document.querySelector(".big");
  function cl(sm) {
    if (sm == 1) small.classList.add("remove");
    else big.classList.add("remove");
  }
  small.addEventListener("transitionend", () => {
    small.remove();
  });
  big.addEventListener("transitionend", () => {
    big.remove();
  });
</script>

Card Badge

<div class="h-full bg-rose-300 pt-10">
  <div
    class="relative mx-10 max-w-sm rounded-3xl bg-sky-200 shadow-lg shadow-blue-500"
  >
    <span
      class="absolute right-[-20px] top-[-20px] inline-block whitespace-nowrap rounded-full bg-red-600 py-4 px-4 text-center align-baseline text-xl font-bold leading-none text-white shadow-2xl shadow-teal-400"
      >New</span
    >

    <img
      class="w-full"
      src="https://media.istockphoto.com/photos/hot-air-balloons-picture-id184091124?s=612x612"
      alt="VK tailwind Bootstrap"
    />
    <div class="px-6 py-4">
      <div class="mb-2 text-xl font-bold">Welcome to VK tailwind Bootstrap</div>
      <p class="pb-6 text-lg font-medium text-blue-900">
        Best part of card badge is to have a badge above a card. Nothing else 😆
      </p>
    </div>
  </div>
</div>