Navigation & data
Table
Data tables that scroll sideways on small screens; compact density tightens rows.
Table
| Invoice | Client | Status | Amount |
| #1042 | Acme Ltd | Pending | ₹4,200 |
| #1041 | Northwind | Paid | ₹12,800 |
| #1040 | Globex | Overdue | ₹2,150 |
html
<div class="og-table-wrap" style="width: 100%">
<table class="og-table">
<thead><tr><th>Invoice</th><th>Client</th><th>Status</th><th class="og-table__num">Amount</th></tr></thead>
<tbody>
<tr><td>#1042</td><td>Acme Ltd</td><td><span class="og-badge og-badge--warning">Pending</span></td><td class="og-table__num">₹4,200</td></tr>
<tr><td>#1041</td><td>Northwind</td><td><span class="og-badge og-badge--success">Paid</span></td><td class="og-table__num">₹12,800</td></tr>
<tr><td>#1040</td><td>Globex</td><td><span class="og-badge og-badge--danger">Overdue</span></td><td class="og-table__num">₹2,150</td></tr>
</tbody>
</table>
</div>
React
tsx
import { Table } from '@og-ui/react';
<Table>
<thead><tr><th>Invoice</th><th className="og-table__num">Amount</th></tr></thead>
<tbody><tr><td>#1042</td><td className="og-table__num">₹4,200</td></tr></tbody>
</Table>
In every theme
Clean SaaS
| Invoice | Client | Status | Amount |
| #1042 | Acme Ltd | Pending | ₹4,200 |
| #1041 | Northwind | Paid | ₹12,800 |
| #1040 | Globex | Overdue | ₹2,150 |
Glassmorphism 2.0
| Invoice | Client | Status | Amount |
| #1042 | Acme Ltd | Pending | ₹4,200 |
| #1041 | Northwind | Paid | ₹12,800 |
| #1040 | Globex | Overdue | ₹2,150 |
Liquid glass
| Invoice | Client | Status | Amount |
| #1042 | Acme Ltd | Pending | ₹4,200 |
| #1041 | Northwind | Paid | ₹12,800 |
| #1040 | Globex | Overdue | ₹2,150 |
Neumorphism / Soft UI
| Invoice | Client | Status | Amount |
| #1042 | Acme Ltd | Pending | ₹4,200 |
| #1041 | Northwind | Paid | ₹12,800 |
| #1040 | Globex | Overdue | ₹2,150 |
Claymorphism
| Invoice | Client | Status | Amount |
| #1042 | Acme Ltd | Pending | ₹4,200 |
| #1041 | Northwind | Paid | ₹12,800 |
| #1040 | Globex | Overdue | ₹2,150 |
Neubrutalism
| Invoice | Client | Status | Amount |
| #1042 | Acme Ltd | Pending | ₹4,200 |
| #1041 | Northwind | Paid | ₹12,800 |
| #1040 | Globex | Overdue | ₹2,150 |
Aurora / mesh gradient
| Invoice | Client | Status | Amount |
| #1042 | Acme Ltd | Pending | ₹4,200 |
| #1041 | Northwind | Paid | ₹12,800 |
| #1040 | Globex | Overdue | ₹2,150 |
Keyboard and screen readers
- A plain table: screen readers navigate it with their table commands. Use <th> for headers.
Install
bash
npx @og-ui/cli add table
npx @og-ui/cli add table --react # with the React component