Catalogo design-system elements/flyout-menus

← catalogo / elements/flyout-menus

Elements · Flyout menus · Simple with descriptions

TW-EL-FM-05 Tailwind Plus

tailwind/marketing/elements/flyout-menus/05-simple-with-descriptions

Pacchetti da installare

@tailwindplus/elements

Da toccare per il marchio

  • collegamenti a vuoto: puntali alle rotte vere

Sorgente (html)

<!-- Include this script tag or install `@tailwindplus/elements` via npm: -->
<!-- <script src="https://cdn.jsdelivr.net/npm/@tailwindplus/elements@1" type="module"></script> -->
<div class="relative">
  <button popovertarget="desktop-menu-solutions" class="inline-flex items-center gap-x-1 text-sm/6 font-semibold text-gray-900 dark:text-white">
    <span>Solutions</span>
    <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5">
      <path d="M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" fill-rule="evenodd" />
    </svg>
  </button>

  <el-popover id="desktop-menu-solutions" anchor="bottom" popover class="w-screen max-w-max overflow-visible bg-transparent px-4 transition transition-discrete [--anchor-gap:--spacing(5)] backdrop:bg-transparent open:flex data-closed:translate-y-1 data-closed:opacity-0 data-enter:duration-200 data-enter:ease-out data-leave:duration-150 data-leave:ease-in">
    <div class="w-screen max-w-sm flex-auto rounded-3xl bg-white p-4 text-sm/6 shadow-lg outline-1 outline-gray-900/5 dark:bg-gray-800 dark:shadow-none dark:-outline-offset-1 dark:outline-white/10">
      <div class="relative rounded-lg p-4 hover:bg-gray-50 dark:hover:bg-white/5">
        <a href="#" class="font-semibold text-gray-900 dark:text-white">
          Blog
          <span class="absolute inset-0"></span>
        </a>
        <p class="mt-1 text-gray-600 dark:text-gray-400">Learn about tips, product updates and company culture</p>
      </div>
      <div class="relative rounded-lg p-4 hover:bg-gray-50 dark:hover:bg-white/5">
        <a href="#" class="font-semibold text-gray-900 dark:text-white">
          Help center
          <span class="absolute inset-0"></span>
        </a>
        <p class="mt-1 text-gray-600 dark:text-gray-400">Get all of your questions answered in our forums of contact support</p>
      </div>
      <div class="relative rounded-lg p-4 hover:bg-gray-50 dark:hover:bg-white/5">
        <a href="#" class="font-semibold text-gray-900 dark:text-white">
          Guides
          <span class="absolute inset-0"></span>
        </a>
        <p class="mt-1 text-gray-600 dark:text-gray-400">Learn how to maximize our platform to get the most out of it</p>
      </div>
      <div class="relative rounded-lg p-4 hover:bg-gray-50 dark:hover:bg-white/5">
        <a href="#" class="font-semibold text-gray-900 dark:text-white">
          Events
          <span class="absolute inset-0"></span>
        </a>
        <p class="mt-1 text-gray-600 dark:text-gray-400">Check out webinars with experts and learn about our annual conference</p>
      </div>
      <div class="relative rounded-lg p-4 hover:bg-gray-50 dark:hover:bg-white/5">
        <a href="#" class="font-semibold text-gray-900 dark:text-white">
          Security
          <span class="absolute inset-0"></span>
        </a>
        <p class="mt-1 text-gray-600 dark:text-gray-400">Understand how we take your privacy seriously</p>
      </div>
    </div>
  </el-popover>
</div>