Catalogo design-system lists/stacked-lists

← catalogo / lists/stacked-lists

Lists · Stacked lists · Narrow with badges

TW-LI-SL-15 Tailwind Plus

tailwind/application-ui/lists/stacked-lists/17-narrow-with-badges

Da toccare per il marchio

  • colore indigo: sostituisci col colore del marchio
  • nomi di fantasia nei dati d'esempio
  • collegamenti a vuoto: puntali alle rotte vere

Sorgente (html)

<ul role="list" class="divide-y divide-gray-100 dark:divide-white/5">
  <li class="relative flex items-center space-x-4 py-4">
    <div class="min-w-0 flex-auto">
      <div class="flex items-center gap-x-3">
        <div class="flex-none rounded-full bg-gray-100/10 p-1 text-gray-500 dark:bg-white/10">
          <div class="size-2 rounded-full bg-current"></div>
        </div>
        <h2 class="min-w-0 text-sm/6 font-semibold text-gray-900 dark:text-white">
          <a href="#" class="flex gap-x-2">
            <span class="truncate">Planetaria</span>
            <span class="text-gray-500 dark:text-gray-400">/</span>
            <span class="whitespace-nowrap">ios-app</span>
            <span class="absolute inset-0"></span>
          </a>
        </h2>
      </div>
      <div class="mt-3 flex items-center gap-x-2.5 text-xs/5 text-gray-500 dark:text-gray-400">
        <p class="truncate">Deploys from GitHub</p>
        <svg viewBox="0 0 2 2" class="size-0.5 flex-none fill-gray-500 dark:fill-gray-300">
          <circle r="1" cx="1" cy="1" />
        </svg>
        <p class="whitespace-nowrap">Initiated 1m 32s ago</p>
      </div>
    </div>
    <div class="flex-none rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 inset-ring inset-ring-gray-500/10 dark:bg-gray-400/10 dark:text-gray-400 dark:inset-ring-gray-400/20">Preview</div>
    <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 flex-none text-gray-400">
      <path d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" fill-rule="evenodd" />
    </svg>
  </li>
  <li class="relative flex items-center space-x-4 py-4">
    <div class="min-w-0 flex-auto">
      <div class="flex items-center gap-x-3">
        <div class="flex-none rounded-full bg-green-100 p-1 text-green-500 dark:bg-green-400/20 dark:text-green-400">
          <div class="size-2 rounded-full bg-current"></div>
        </div>
        <h2 class="min-w-0 text-sm/6 font-semibold text-gray-900 dark:text-white">
          <a href="#" class="flex gap-x-2">
            <span class="truncate">Planetaria</span>
            <span class="text-gray-500 dark:text-gray-400">/</span>
            <span class="whitespace-nowrap">mobile-api</span>
            <span class="absolute inset-0"></span>
          </a>
        </h2>
      </div>
      <div class="mt-3 flex items-center gap-x-2.5 text-xs/5 text-gray-500 dark:text-gray-400">
        <p class="truncate">Deploys from GitHub</p>
        <svg viewBox="0 0 2 2" class="size-0.5 flex-none fill-gray-500 dark:fill-gray-300">
          <circle r="1" cx="1" cy="1" />
        </svg>
        <p class="whitespace-nowrap">Deployed 3m ago</p>
      </div>
    </div>
    <div class="flex-none rounded-full bg-indigo-50 px-2 py-1 text-xs font-medium text-indigo-700 inset-ring inset-ring-indigo-700/10 dark:bg-indigo-400/10 dark:text-indigo-400 dark:inset-ring-indigo-400/30">Production</div>
    <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 flex-none text-gray-400">
      <path d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" fill-rule="evenodd" />
    </svg>
  </li>
  <li class="relative flex items-center space-x-4 py-4">
    <div class="min-w-0 flex-auto">
      <div class="flex items-center gap-x-3">
        <div class="flex-none rounded-full bg-gray-100/10 p-1 text-gray-500 dark:bg-white/10">
          <div class="size-2 rounded-full bg-current"></div>
        </div>
        <h2 class="min-w-0 text-sm/6 font-semibold text-gray-900 dark:text-white">
          <a href="#" class="flex gap-x-2">
            <span class="truncate">Tailwind Labs</span>
            <span class="text-gray-500 dark:text-gray-400">/</span>
            <span class="whitespace-nowrap">tailwindcss.com</span>
            <span class="absolute inset-0"></span>
          </a>
        </h2>
      </div>
      <div class="mt-3 flex items-center gap-x-2.5 text-xs/5 text-gray-500 dark:text-gray-400">
        <p class="truncate">Deploys from GitHub</p>
        <svg viewBox="0 0 2 2" class="size-0.5 flex-none fill-gray-500 dark:fill-gray-300">
          <circle r="1" cx="1" cy="1" />
        </svg>
        <p class="whitespace-nowrap">Deployed 3h ago</p>
      </div>
    </div>
    <div class="flex-none rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 inset-ring inset-ring-gray-500/10 dark:bg-gray-400/10 dark:text-gray-400 dark:inset-ring-gray-400/20">Preview</div>
    <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 flex-none text-gray-400">
      <path d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" fill-rule="evenodd" />
    </svg>
  </li>
  <li class="relative flex items-center space-x-4 py-4">
    <div class="min-w-0 flex-auto">
      <div class="flex items-center gap-x-3">
        <div class="flex-none rounded-full bg-rose-100 p-1 text-rose-500 dark:bg-rose-400/20 dark:text-rose-400">
          <div class="size-2 rounded-full bg-current"></div>
        </div>
        <h2 class="min-w-0 text-sm/6 font-semibold text-gray-900 dark:text-white">
          <a href="#" class="flex gap-x-2">
            <span class="truncate">Protocol</span>
            <span class="text-gray-500 dark:text-gray-400">/</span>
            <span class="whitespace-nowrap">api.protocol.chat</span>
            <span class="absolute inset-0"></span>
          </a>
        </h2>
      </div>
      <div class="mt-3 flex items-center gap-x-2.5 text-xs/5 text-gray-500 dark:text-gray-400">
        <p class="truncate">Deploys from GitHub</p>
        <svg viewBox="0 0 2 2" class="size-0.5 flex-none fill-gray-500 dark:fill-gray-300">
          <circle r="1" cx="1" cy="1" />
        </svg>
        <p class="whitespace-nowrap">Failed to deploy 6d ago</p>
      </div>
    </div>
    <div class="flex-none rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 inset-ring inset-ring-gray-500/10 dark:bg-gray-400/10 dark:text-gray-400 dark:inset-ring-gray-400/20">Preview</div>
    <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 flex-none text-gray-400">
      <path d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" fill-rule="evenodd" />
    </svg>
  </li>
</ul>