Table
| Invoice | Status | Method | Amount |
|---|---|---|---|
| INV001 | Paid | Credit Card | $250.00 |
| INV002 | Pending | PayPal | $150.00 |
| INV003 | Unpaid | Bank Transfer | $350.00 |
| INV004 | Paid | Paypal | $450.00 |
| INV005 | Paid | Credit Card | $550.00 |
| INV006 | Pending | Bank Transfer | $200.00 |
| INV007 | Unpaid | Credit Card | $300.00 |
| Total | $2,500.00 | ||
Usage
Include CSS
Import Tailwind and one full A3S UI style bundle.
Or import only the base CSS, Table component CSS, and one style pack.
Using CDN or bundler imports? See the Installation page.
Add your table HTML
Add class="table" to your table element. Wrap it in class="table-container" when horizontal scrolling is needed.
Examples
Examples below follow upstream table patterns where they map cleanly to A3S UI's non-portalled HTML model.
With Footer
| Invoice | Status | Method | Amount |
|---|---|---|---|
| INV001 | Paid | Credit Card | $250.00 |
| INV002 | Pending | PayPal | $150.00 |
| INV003 | Unpaid | Bank Transfer | $350.00 |
| Total | $2,500.00 | ||
With Actions
| Product | Price | Actions |
|---|---|---|
| Wireless Mouse | $29.99 | |
| Mechanical Keyboard | $129.99 | |
| USB-C Hub | $49.99 |
RTL
Set dir="rtl" on the table container when needed. Use logical alignment utilities such as text-end.
| الفاتورة | الحالة | المبلغ |
|---|---|---|
| INV001 | مدفوعة | $250.00 |