Table

A table component to display data in a tabular format.

#FirstLastUsername
1MéschacIrung@irung
2JohnDoe@john
3JaneDoe@jane
<table class="border-collapse table-auto border max-w-sm w-full">
    <thead class="text-title">
        <tr class="*:font-medium bg-ui-soft dark:bg-[--ui-bg] *:border *:px-3 *:py-2 *:text-left">
            <th>#</th>
            <th>First</th>
            <th>Last</th>
            <th>Username</th>
        </tr>
    </thead>
    <tbody>
        <tr class="*:border *:px-3 *:py-2">
            <td>1</td>
            <td>Méschac</td>
            <td>Irung</td>
            <td>@irung</td>
        </tr>
        <tr class="*:border *:px-3 *:py-2">
            <td>2</td>
            <td>John</td>
            <td>Doe</td>
            <td>@john</td>
        </tr>
        <tr class="*:border *:px-3 *:py-2">
            <td>3</td>
            <td>Jane</td>
            <td>Doe</td>
            <td>@jane</td>
        </tr>
    </tbody>
</table>

Comparator

FreeGet Started ProGet Started StartupGet Started
Features
Feature 1
Feature 2
Feature 3
Reporting
Tokens20 UsersUnlimited
Video calls12 Weeks56
Support
TokensSecondesUnlimited
Video callsHours56
<div class="overflow-auto w-full lg:overflow-visible">
    <table class="border-separate border-spacing-x-3 table-auto md:max-w-xl w-max md:w-full dark:[--ui-soft-bg:var(--ui-bg)]" data-rounded="medium">
        <thead class="text-title sticky top-0 bg-white dark:bg-gray-925">
            <tr class="*:font-medium *:py-4 *:text-left">
                <th></th>
                <th class="space-y-2">
                    <span>Free</span>
                    <a href="#" class="btn variant-soft intent-gray sz-xs w-fit">Get Started </a>
                </th>
                <th class="space-y-2 px-4 bg-ui-soft rounded-t-[--card-radius]">
                    <span>Pro</span>
                    <a href="#" class="btn variant-solid intent-primary sz-xs w-fit">Get Started </a>
                </th>
                <th class="space-y-2">
                    <span>Startup</span>
                    <a href="#" class="btn variant-soft intent-gray sz-xs w-fit">Get Started </a>
                </th>
            </tr>
        </thead>
        <tbody class="text-sm text-caption">
            <tr class="*:py-2">
                <td class="text-title font-medium">Features</td>
                <td></td>
                <td class="bg-ui-soft px-4 border-none"></td>
                <td></td>
            </tr>
            <tr class="*:py-2 *:border-b">
                <td>Feature 1</td>
                <td class="text-title">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-4">
                        <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z" clip-rule="evenodd" />
                    </svg>
                </td>
                <td class="bg-ui-soft text-title px-4 border-none">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-4">
                        <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z" clip-rule="evenodd" />
                    </svg>
                </td>
                <td class="text-title">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-4">
                        <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z" clip-rule="evenodd" />
                    </svg>
                </td>
            </tr>
            <tr class="*:py-2 *:border-b">
                <td>Feature 2</td>
                <td class="text-title">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-4">
                        <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z" clip-rule="evenodd" />
                    </svg>
                </td>
                <td class="bg-ui-soft text-title px-4 border-none">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-4">
                        <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z" clip-rule="evenodd" />
                    </svg>
                </td>
                <td class="text-title">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-4">
                        <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z" clip-rule="evenodd" />
                    </svg>
                </td>
            </tr>
            <tr class="*:py-2 *:border-b">
                <td>Feature 3</td>
                <td></td>
                <td class="bg-ui-soft text-title px-4 border-none">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-4">
                        <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z" clip-rule="evenodd" />
                    </svg>
                </td>
                <td class="text-title">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-4">
                        <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z" clip-rule="evenodd" />
                    </svg>
                </td>
            </tr>
            <tr class="*:pb-2 *:pt-4">
                <td class="text-title font-medium">Reporting</td>
                <td></td>
                <td class="bg-ui-soft"></td>
                <td></td>
            </tr>
            <tr class="*:py-2 *:border-b *:text-sm">
                <td>Tokens</td>
                <td></td>
                <td class="bg-ui-soft text-title px-4 border-none">20 Users</td>
                <td class="text-title">Unlimited</td>
            </tr>
            <tr class="*:py-2 *:border-b *:text-sm">
                <td>Video calls</td>
                <td></td>
                <td class="bg-ui-soft text-title px-4 border-none">12 Weeks</td>
                <td class="text-title">56</td>
            </tr>
            <tr class="*:pb-2 *:pt-4">
                <td class="text-title font-medium">Support</td>
                <td></td>
                <td class="bg-ui-soft"></td>
                <td></td>
            </tr>
            <tr class="*:py-2 *:border-b *:text-sm">
                <td>Tokens</td>
                <td></td>
                <td class="bg-ui-soft text-title px-4 border-none">Secondes</td>
                <td class="text-title">Unlimited</td>
            </tr>
            <tr class="*:py-2 *:border-b *:text-sm">
                <td>Video calls</td>
                <td></td>
                <td class="bg-ui-soft text-title px-4 border-none">Hours</td>
                <td class="text-title">56</td>
            </tr>
            <tr class="*:py-4 *:text-sm">
                <td></td>
                <td></td>
                <td class="bg-ui-soft border-none rounded-b-[--card-radius]"></td>
                <td></td>
            </tr>
        </tbody>
    </table>
</div>

Customers

Customers

New users by First user primary channel group (Default Channel Group)

#DateStatusCustomerProductRevenue
110/31/2023Paid
Bernard Ng
Bernard Ng
Ampire Ess$43.99
210/21/2023Ref
Méschac Irung
Méschac Irung
Astrolus H$19.99
305/21/2023Can
Théo Balick
Théo Balick
Alt Next$59.99
405/21/2023Paid
Glodie Lukose
Glodie Lukose
Radiant$29.99
<div class="overflow-auto card variant-mixed w-full lg:overflow-clip">
    <div class="mb-6">
        <h2 class="text-title font-medium">Customers</h2>
        <p class="text-sm mt-1">New users by First user primary channel group (Default Channel Group)</p>
    </div>
    <table class="border-collapse table-auto w-max dark:[--ui-soft-bg:var(--ui-bg)]" data-rounded="medium">
        <thead class="text-title sticky top-0 bg-ui-soft dark:bg-gray-925">
            <tr class="*:font-medium *:text-sm *:p-3 *:text-left">
                <th class="rounded-l-[--card-radius]">#</th>
                <th>Date</th>
                <th>Status</th>
                <th>Customer</th>
                <th>Product</th>
                <th class="rounded-r-[--card-radius]">Revenue</th>
            </tr>
        </thead>
        <tbody class="text-sm">
            <tr class="*:p-3 *:border-b">
                <td>1</td>
                <td>10/31/2023</td>
                <td><span class="badge variant-soft sz-xs intent-success">Paid</span></td>
                <td>
                    <div class="flex items-center gap-2 text-title">
                        <div class="avatar sz-xxs">
                            <img src={BERNARD_AVATAR} alt="Bernard Ng" width="" height=""/>
                        </div>
                        <span>Bernard Ng</span>
                    </div>
                </td>
                <td>Ampire Ess</td>
                <td>$43.99</td>
            </tr>
            <tr class="*:p-3 *:border-b">
                <td>2</td>
                <td>10/21/2023</td>
                <td><span class="badge variant-soft sz-xs intent-gray line-clamp-1">Ref</span></td>
                <td>
                    <div class="flex items-center gap-2 text-title">
                        <div class="avatar sz-xxs">
                            <img src={MESCHAC_AVATAR} alt="Méschac Irung" width="" height=""/>
                        </div>
                        <span>Méschac Irung</span>
                    </div>
                </td>
                <td>Astrolus H</td>
                <td>$19.99</td>
            </tr>
            <tr class="*:p-3 *:border-b">
                <td>3</td>
                <td>05/21/2023</td>
                <td><span class="badge variant-soft sz-xs intent-danger line-clamp-1">Can</span></td>
                <td>
                    <div class="flex items-center gap-2 text-title">
                        <div class="avatar sz-xxs">
                            <img src={THEO_AVATAR} alt="Théo Balick" width="" height=""/>
                        </div>
                        <span>Théo Balick</span>
                    </div>
                </td>
                <td>Alt Next</td>
                <td>$59.99</td>
            </tr>
            <tr class="*:p-3 *:border-b">
                <td>4</td>
                <td>05/21/2023</td>
                <td><span class="badge variant-soft sz-xs intent-success line-clamp-1">Paid</span></td>
                <td>
                    <div class="flex items-center gap-2 text-title">
                        <div class="avatar sz-xxs">
                            <img src={GLODIE_AVATAR} alt="Glodie Lukose" width="" height=""/>
                        </div>
                        <span>Glodie Lukose</span>
                    </div>
                </td>
                <td>Radiant</td>
                <td>$29.99</td>
            </tr>
        </tbody>
    </table>
</div>

With chexkbox

Customers

New users by First user primary channel group (Default Channel Group)

DateStatusCustomerProductRevenue
10/31/2023Paid
Bernard Ng
Bernard Ng
Ampire Ess$43.99
10/21/2023Ref
Méschac Irung
Méschac Irung
Astrolus H$19.99
05/21/2023Can
Théo Balick
Théo Balick
Alt Next$59.99
05/21/2023Paid
Glodie Lukose
Glodie Lukose
Radiant$29.99
<div class="overflow-auto card variant-mixed w-full lg:overflow-clip">
    <div class="mb-6">
        <h2 class="text-title font-medium">Customers</h2>
        <p class="text-sm mt-1">New users by First user primary channel group (Default Channel Group)</p>
    </div>
    <table class="border-collapse table-auto w-max dark:[--ui-soft-bg:var(--ui-bg)]" data-rounded="medium">
        <thead class="text-title sticky top-0 bg-ui-soft dark:bg-gray-925">
            <tr class="*:font-medium *:text-sm *:p-3 *:text-left">
                <th class="rounded-l-[--card-radius]">#</th>
                <th>Date</th>
                <th>Status</th>
                <th>Customer</th>
                <th>Product</th>
                <th class="rounded-r-[--card-radius]">Revenue</th>
            </tr>
        </thead>
        <tbody class="text-sm">
            <tr class="*:p-3 *:border-b">
                <td>1</td>
                <td>10/31/2023</td>
                <td><span class="badge variant-soft sz-xs intent-success">Paid</span></td>
                <td>
                    <div class="flex items-center gap-2 text-title">
                        <div class="avatar sz-xxs">
                            <img src={BERNARD_AVATAR} alt="Bernard Ng" width="" height=""/>
                        </div>
                        <span>Bernard Ng</span>
                    </div>
                </td>
                <td>Ampire Ess</td>
                <td>$43.99</td>
            </tr>
            <tr class="*:p-3 *:border-b">
                <td>2</td>
                <td>10/21/2023</td>
                <td><span class="badge variant-soft sz-xs intent-gray line-clamp-1">Ref</span></td>
                <td>
                    <div class="flex items-center gap-2 text-title">
                        <div class="avatar sz-xxs">
                            <img src={MESCHAC_AVATAR} alt="Méschac Irung" width="" height=""/>
                        </div>
                        <span>Méschac Irung</span>
                    </div>
                </td>
                <td>Astrolus H</td>
                <td>$19.99</td>
            </tr>
            <tr class="*:p-3 *:border-b">
                <td>3</td>
                <td>05/21/2023</td>
                <td><span class="badge variant-soft sz-xs intent-danger line-clamp-1">Can</span></td>
                <td>
                    <div class="flex items-center gap-2 text-title">
                        <div class="avatar sz-xxs">
                            <img src={THEO_AVATAR} alt="Théo Balick" width="" height=""/>
                        </div>
                        <span>Théo Balick</span>
                    </div>
                </td>
                <td>Alt Next</td>
                <td>$59.99</td>
            </tr>
            <tr class="*:p-3 *:border-b">
                <td>4</td>
                <td>05/21/2023</td>
                <td><span class="badge variant-soft sz-xs intent-success line-clamp-1">Paid</span></td>
                <td>
                    <div class="flex items-center gap-2 text-title">
                        <div class="avatar sz-xxs">
                            <img src={GLODIE_AVATAR} alt="Glodie Lukose" width="" height=""/>
                        </div>
                        <span>Glodie Lukose</span>
                    </div>
                </td>
                <td>Radiant</td>
                <td>$29.99</td>
            </tr>
        </tbody>
    </table>
</div>