Tables

Clean, readable data tables with soft styling.

Default

# Name Email Role Status
1 Alice Martin alice@example.com Admin Active
2 Bob Wilson bob@example.com Editor Active
3 Carol Davis carol@example.com Viewer Pending
4 Dan Brown dan@example.com Editor Inactive
<div class="sui-overflow-x-auto">
  <table class="sui-table">
    <thead>
      <tr>
        <th scope="col">#</th>
        <th scope="col">Name</th>
        <th scope="col">Email</th>
        <th scope="col">Role</th>
        <th scope="col">Status</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>1</td>
        <td>Alice Martin</td>
        <td>alice@example.com</td>
        <td>Admin</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>2</td>
        <td>Bob Wilson</td>
        <td>bob@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>3</td>
        <td>Carol Davis</td>
        <td>carol@example.com</td>
        <td>Viewer</td>
        <td><span class="sui-badge sui-badge-warning">Pending</span></td>
      </tr>
      <tr>
        <td>4</td>
        <td>Dan Brown</td>
        <td>dan@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-danger">Inactive</span></td>
      </tr>
    </tbody>
  </table>
</div>

Striped

# Name Email Role Status
1 Alice Martin alice@example.com Admin Active
2 Bob Wilson bob@example.com Editor Active
3 Carol Davis carol@example.com Viewer Pending
4 Dan Brown dan@example.com Editor Inactive
<div class="sui-overflow-x-auto">
  <table class="sui-table sui-table-striped">
    <thead>
      <tr>
        <th scope="col">#</th>
        <th scope="col">Name</th>
        <th scope="col">Email</th>
        <th scope="col">Role</th>
        <th scope="col">Status</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>1</td>
        <td>Alice Martin</td>
        <td>alice@example.com</td>
        <td>Admin</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>2</td>
        <td>Bob Wilson</td>
        <td>bob@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>3</td>
        <td>Carol Davis</td>
        <td>carol@example.com</td>
        <td>Viewer</td>
        <td><span class="sui-badge sui-badge-warning">Pending</span></td>
      </tr>
      <tr>
        <td>4</td>
        <td>Dan Brown</td>
        <td>dan@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-danger">Inactive</span></td>
      </tr>
    </tbody>
  </table>
</div>

Compact

# Name Email Role Status
1 Alice Martin alice@example.com Admin Active
2 Bob Wilson bob@example.com Editor Active
3 Carol Davis carol@example.com Viewer Pending
4 Dan Brown dan@example.com Editor Inactive
<div class="sui-overflow-x-auto">
  <table class="sui-table sui-table-compact">
    <thead>
      <tr>
        <th scope="col">#</th>
        <th scope="col">Name</th>
        <th scope="col">Email</th>
        <th scope="col">Role</th>
        <th scope="col">Status</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>1</td>
        <td>Alice Martin</td>
        <td>alice@example.com</td>
        <td>Admin</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>2</td>
        <td>Bob Wilson</td>
        <td>bob@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>3</td>
        <td>Carol Davis</td>
        <td>carol@example.com</td>
        <td>Viewer</td>
        <td><span class="sui-badge sui-badge-warning">Pending</span></td>
      </tr>
      <tr>
        <td>4</td>
        <td>Dan Brown</td>
        <td>dan@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-danger">Inactive</span></td>
      </tr>
    </tbody>
  </table>
</div>

Borderless

# Name Email Role Status
1 Alice Martin alice@example.com Admin Active
2 Bob Wilson bob@example.com Editor Active
3 Carol Davis carol@example.com Viewer Pending
4 Dan Brown dan@example.com Editor Inactive
<div class="sui-overflow-x-auto">
  <table class="sui-table sui-table-borderless">
    <thead>
      <tr>
        <th scope="col">#</th>
        <th scope="col">Name</th>
        <th scope="col">Email</th>
        <th scope="col">Role</th>
        <th scope="col">Status</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>1</td>
        <td>Alice Martin</td>
        <td>alice@example.com</td>
        <td>Admin</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>2</td>
        <td>Bob Wilson</td>
        <td>bob@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>3</td>
        <td>Carol Davis</td>
        <td>carol@example.com</td>
        <td>Viewer</td>
        <td><span class="sui-badge sui-badge-warning">Pending</span></td>
      </tr>
      <tr>
        <td>4</td>
        <td>Dan Brown</td>
        <td>dan@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-danger">Inactive</span></td>
      </tr>
    </tbody>
  </table>
</div>

Inset

# Name Email Role Status
1 Alice Martin alice@example.com Admin Active
2 Bob Wilson bob@example.com Editor Active
3 Carol Davis carol@example.com Viewer Pending
4 Dan Brown dan@example.com Editor Inactive
<div class="sui-overflow-x-auto">
  <table class="sui-table sui-table-inset">
    <thead>
      <tr>
        <th scope="col">#</th>
        <th scope="col">Name</th>
        <th scope="col">Email</th>
        <th scope="col">Role</th>
        <th scope="col">Status</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>1</td>
        <td>Alice Martin</td>
        <td>alice@example.com</td>
        <td>Admin</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>2</td>
        <td>Bob Wilson</td>
        <td>bob@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>3</td>
        <td>Carol Davis</td>
        <td>carol@example.com</td>
        <td>Viewer</td>
        <td><span class="sui-badge sui-badge-warning">Pending</span></td>
      </tr>
      <tr>
        <td>4</td>
        <td>Dan Brown</td>
        <td>dan@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-danger">Inactive</span></td>
      </tr>
    </tbody>
  </table>
</div>

Bordered

# Name Email Role Status
1 Alice Martin alice@example.com Admin Active
2 Bob Wilson bob@example.com Editor Active
3 Carol Davis carol@example.com Viewer Pending
4 Dan Brown dan@example.com Editor Inactive
<div class="sui-overflow-x-auto">
  <table class="sui-table sui-table-bordered">
    <thead>
      <tr>
        <th scope="col">#</th>
        <th scope="col">Name</th>
        <th scope="col">Email</th>
        <th scope="col">Role</th>
        <th scope="col">Status</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>1</td>
        <td>Alice Martin</td>
        <td>alice@example.com</td>
        <td>Admin</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>2</td>
        <td>Bob Wilson</td>
        <td>bob@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-success">Active</span></td>
      </tr>
      <tr>
        <td>3</td>
        <td>Carol Davis</td>
        <td>carol@example.com</td>
        <td>Viewer</td>
        <td><span class="sui-badge sui-badge-warning">Pending</span></td>
      </tr>
      <tr>
        <td>4</td>
        <td>Dan Brown</td>
        <td>dan@example.com</td>
        <td>Editor</td>
        <td><span class="sui-badge sui-badge-danger">Inactive</span></td>
      </tr>
    </tbody>
  </table>
</div>

Delete this item?

This action cannot be undone. This will permanently delete the item and remove all associated data.