Catalogo design-system lists/tables

← catalogo / lists/tables

Lists · Tables · With hidden headings

TW-LI-TA-18 Tailwind Plus

tailwind/application-ui/lists/tables/18-with-hidden-headings

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)

<div>
  <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
    <h2 class="mx-auto max-w-2xl text-base font-semibold text-gray-900 lg:mx-0 lg:max-w-none dark:text-white">Recent activity</h2>
  </div>
  <div class="mt-6 overflow-hidden border-t border-gray-100 dark:border-white/10">
    <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
      <div class="mx-auto max-w-2xl lg:mx-0 lg:max-w-none">
        <table class="w-full text-left">
          <thead class="sr-only">
            <tr>
              <th>Amount</th>
              <th class="hidden sm:table-cell">Client</th>
              <th>More details</th>
            </tr>
          </thead>
          <tbody>
            <tr class="text-sm/6 text-gray-900 dark:text-gray-100">
              <th scope="colgroup" colspan="3" class="relative isolate py-2 font-semibold">
                <time datetime="2023-03-22">Today</time>
                <div class="absolute inset-y-0 right-full -z-10 w-screen border-b border-gray-200 bg-gray-50 dark:border-white/15 dark:bg-gray-800/50"></div>
                <div class="absolute inset-y-0 left-0 -z-10 w-screen border-b border-gray-200 bg-gray-50 dark:border-white/15 dark:bg-gray-800/50"></div>
              </th>
            </tr>
            <tr>
              <td class="relative py-5 pr-6">
                <div class="flex gap-x-6">
                  <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden h-6 w-5 flex-none text-gray-400 sm:block dark:text-gray-500">
                    <path d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z" clip-rule="evenodd" fill-rule="evenodd" />
                  </svg>
                  <div class="flex-auto">
                    <div class="flex items-start gap-x-3">
                      <div class="text-sm/6 font-medium text-gray-900 dark:text-white">$7,600.00 USD</div>
                      <div class="rounded-md bg-green-50 px-2 py-1 text-xs font-medium text-green-700 inset-ring inset-ring-green-600/20 dark:bg-green-900/30 dark:text-green-400 dark:inset-ring-green-500/20">Paid</div>
                    </div>
                    <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">$500.00 tax</div>
                  </div>
                </div>
                <div class="absolute right-full bottom-0 h-px w-screen bg-gray-100 dark:bg-white/10"></div>
                <div class="absolute bottom-0 left-0 h-px w-screen bg-gray-100 dark:bg-white/10"></div>
              </td>
              <td class="hidden py-5 pr-6 sm:table-cell">
                <div class="text-sm/6 text-gray-900 dark:text-white">Reform</div>
                <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">Website redesign</div>
              </td>
              <td class="py-5 text-right">
                <div class="flex justify-end">
                  <a href="#" class="text-sm/6 font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300">View<span class="hidden sm:inline"> transaction</span><span class="sr-only">, invoice #00012, Reform</span></a>
                </div>
                <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">Invoice <span class="text-gray-900 dark:text-white">#00012</span></div>
              </td>
            </tr>
            <tr>
              <td class="relative py-5 pr-6">
                <div class="flex gap-x-6">
                  <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden h-6 w-5 flex-none text-gray-400 sm:block dark:text-gray-500">
                    <path d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm.75-11.25a.75.75 0 0 0-1.5 0v4.59L7.3 9.24a.75.75 0 0 0-1.1 1.02l3.25 3.5a.75.75 0 0 0 1.1 0l3.25-3.5a.75.75 0 1 0-1.1-1.02l-1.95 2.1V6.75Z" clip-rule="evenodd" fill-rule="evenodd" />
                  </svg>
                  <div class="flex-auto">
                    <div class="flex items-start gap-x-3">
                      <div class="text-sm/6 font-medium text-gray-900 dark:text-white">$10,000.00 USD</div>
                      <div class="rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 inset-ring inset-ring-gray-500/10 dark:bg-gray-700/50 dark:text-gray-400 dark:inset-ring-gray-500/20">Withdraw</div>
                    </div>
                  </div>
                </div>
                <div class="absolute right-full bottom-0 h-px w-screen bg-gray-100 dark:bg-white/10"></div>
                <div class="absolute bottom-0 left-0 h-px w-screen bg-gray-100 dark:bg-white/10"></div>
              </td>
              <td class="hidden py-5 pr-6 sm:table-cell">
                <div class="text-sm/6 text-gray-900 dark:text-white">Tom Cook</div>
                <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">Salary</div>
              </td>
              <td class="py-5 text-right">
                <div class="flex justify-end">
                  <a href="#" class="text-sm/6 font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300">View<span class="hidden sm:inline"> transaction</span><span class="sr-only">, invoice #00011, Tom Cook</span></a>
                </div>
                <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">Invoice <span class="text-gray-900 dark:text-white">#00011</span></div>
              </td>
            </tr>
            <tr>
              <td class="relative py-5 pr-6">
                <div class="flex gap-x-6">
                  <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden h-6 w-5 flex-none text-gray-400 sm:block dark:text-gray-500">
                    <path d="M15.312 11.424a5.5 5.5 0 0 1-9.201 2.466l-.312-.311h2.433a.75.75 0 0 0 0-1.5H3.989a.75.75 0 0 0-.75.75v4.242a.75.75 0 0 0 1.5 0v-2.43l.31.31a7 7 0 0 0 11.712-3.138.75.75 0 0 0-1.449-.39Zm1.23-3.723a.75.75 0 0 0 .219-.53V2.929a.75.75 0 0 0-1.5 0V5.36l-.31-.31A7 7 0 0 0 3.239 8.188a.75.75 0 1 0 1.448.389A5.5 5.5 0 0 1 13.89 6.11l.311.31h-2.432a.75.75 0 0 0 0 1.5h4.243a.75.75 0 0 0 .53-.219Z" clip-rule="evenodd" fill-rule="evenodd" />
                  </svg>
                  <div class="flex-auto">
                    <div class="flex items-start gap-x-3">
                      <div class="text-sm/6 font-medium text-gray-900 dark:text-white">$2,000.00 USD</div>
                      <div class="rounded-md bg-red-50 px-2 py-1 text-xs font-medium text-red-700 inset-ring inset-ring-red-600/10 dark:bg-red-900/30 dark:text-red-400 dark:inset-ring-red-500/20">Overdue</div>
                    </div>
                    <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">$130.00 tax</div>
                  </div>
                </div>
                <div class="absolute right-full bottom-0 h-px w-screen bg-gray-100 dark:bg-white/10"></div>
                <div class="absolute bottom-0 left-0 h-px w-screen bg-gray-100 dark:bg-white/10"></div>
              </td>
              <td class="hidden py-5 pr-6 sm:table-cell">
                <div class="text-sm/6 text-gray-900 dark:text-white">Tuple</div>
                <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">Logo design</div>
              </td>
              <td class="py-5 text-right">
                <div class="flex justify-end">
                  <a href="#" class="text-sm/6 font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300">View<span class="hidden sm:inline"> transaction</span><span class="sr-only">, invoice #00009, Tuple</span></a>
                </div>
                <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">Invoice <span class="text-gray-900 dark:text-white">#00009</span></div>
              </td>
            </tr>

            <tr class="text-sm/6 text-gray-900 dark:text-gray-100">
              <th scope="colgroup" colspan="3" class="relative isolate py-2 font-semibold">
                <time datetime="2023-03-21">Yesterday</time>
                <div class="absolute inset-y-0 right-full -z-10 w-screen border-b border-gray-200 bg-gray-50 dark:border-white/15 dark:bg-gray-800/50"></div>
                <div class="absolute inset-y-0 left-0 -z-10 w-screen border-b border-gray-200 bg-gray-50 dark:border-white/15 dark:bg-gray-800/50"></div>
              </th>
            </tr>
            <tr>
              <td class="relative py-5 pr-6">
                <div class="flex gap-x-6">
                  <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden h-6 w-5 flex-none text-gray-400 sm:block dark:text-gray-500">
                    <path d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z" clip-rule="evenodd" fill-rule="evenodd" />
                  </svg>
                  <div class="flex-auto">
                    <div class="flex items-start gap-x-3">
                      <div class="text-sm/6 font-medium text-gray-900 dark:text-white">$14,000.00 USD</div>
                      <div class="rounded-md bg-green-50 px-2 py-1 text-xs font-medium text-green-700 inset-ring inset-ring-green-600/20 dark:bg-green-900/30 dark:text-green-400 dark:inset-ring-green-500/20">Paid</div>
                    </div>
                    <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">$900.00 tax</div>
                  </div>
                </div>
                <div class="absolute right-full bottom-0 h-px w-screen bg-gray-100 dark:bg-white/10"></div>
                <div class="absolute bottom-0 left-0 h-px w-screen bg-gray-100 dark:bg-white/10"></div>
              </td>
              <td class="hidden py-5 pr-6 sm:table-cell">
                <div class="text-sm/6 text-gray-900 dark:text-white">SavvyCal</div>
                <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">Website redesign</div>
              </td>
              <td class="py-5 text-right">
                <div class="flex justify-end">
                  <a href="#" class="text-sm/6 font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300">View<span class="hidden sm:inline"> transaction</span><span class="sr-only">, invoice #00010, SavvyCal</span></a>
                </div>
                <div class="mt-1 text-xs/5 text-gray-500 dark:text-gray-400">Invoice <span class="text-gray-900 dark:text-white">#00010</span></div>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>