Data tables with sorting, pagination, and various styling options.
Basic Table with Pagination
Pageof 10
Actions
ID
Name
Email
Role
Status
1
John Doe
john.doe@example.com
Admin
Active
2
Jane Smith
jane.smith@example.com
User
Pending
3
Bob Johnson
bob.johnson@example.com
User
Active
4
Alice Brown
alice.brown@example.com
Moderator
Inactive
5
Charlie Wilson
charlie.wilson@example.com
User
Active
Pageof 10
Striped Table
Product
Category
Price
Stock
Status
Laptop Pro
Electronics
$1,299.99
15
In Stock
Wireless Mouse
Accessories
$29.99
0
Out of Stock
Office Chair
Furniture
$249.99
8
In Stock
USB Cable
Accessories
$12.99
3
Low Stock
Table Size Variants
Table size variants synchronized with button/input sizes. Each variant provides enough space for buttons and inputs of the same size.
XS Size
Compact rows - fits button/input XS. Best for dense data grids. Use size="xs".
Name
Position
Office
Age
Actions
Tiger Nixon
System Architect
Edinburgh
61
Garrett Winters
Accountant
Tokyo
63
Ashton Cox
Junior Technical Author
San Francisco
66
Default Size
Standard rows - fits button/input SM and default sizes. No size prop needed.
Name
Position
Office
Age
Actions
Tiger Nixon
System Architect
Edinburgh
61
Garrett Winters
Accountant
Tokyo
63
Ashton Cox
Junior Technical Author
San Francisco
66
SM Size
Slightly wider horizontal padding than default. Use size="sm".
Name
Position
Office
Age
Actions
Tiger Nixon
System Architect
Edinburgh
61
Garrett Winters
Accountant
Tokyo
63
Ashton Cox
Junior Technical Author
San Francisco
66
LG Size
Spacious rows - fits button/input LG. Good for forms in tables. Use size="lg".
Name
Position
Office
Age
Actions
Tiger Nixon
System Architect
Edinburgh
61
Garrett Winters
Accountant
Tokyo
63
Ashton Cox
Junior Technical Author
San Francisco
66
XL Size
Extra spacious rows - fits button/input XL. Best for presentation tables. Use size="xl".
Name
Position
Office
Age
Actions
Tiger Nixon
System Architect
Edinburgh
61
Garrett Winters
Accountant
Tokyo
63
Ashton Cox
Junior Technical Author
San Francisco
66
Size Reference
Size
Prop Value
Padding
Best for
XS
size="xs"
0.6rem 0.8rem
Dense data grids, logs
Default
(no prop)
0.8rem 0.8rem
Standard tables
SM
size="sm"
0.8rem 1rem
Slightly wider spacing
LG
size="lg"
0.8rem 1.4rem
Forms in tables
XL
size="xl"
0.8rem 1.6rem
Presentation tables
Load More
Load More Positioning
Table with Left-aligned Load More
Product
Price
Stock
Status
MacBook Pro
$2,399
12
Available
iPhone 15
$999
0
Out of Stock
iPad Air
$599
8
Available
Table with Center Load More
Customer
Email
Orders
Total
John Smith
john@example.com
23
$4,567.89
Sarah Johnson
sarah@example.com
18
$3,245.12
Mike Davis
mike@example.com
31
$6,789.45
Table with Right Load More (Loading State)
Invoice
Date
Amount
Status
#INV-001
2024-01-15
$234.56
Paid
#INV-002
2024-01-14
$567.89
Pending
#INV-003
2024-01-13
$123.45
Paid
Pager
Pager Positioning Examples
Left-aligned Pager
Pageof 10
Center-aligned Pager (Default)
Pageof 10
Right-aligned Pager
Pageof 10
Alternative Pager Icon Sets
Double/Single Angles (Default)
Pageof 10
Triangular Arrows
Pageof 10
Pageof 10
Simple Arrows
Pageof 10
Pageof 10
Mathematical Double Arrows
Pageof 10
Pageof 10
Panel Tables
Tables with card-like visual containment using the TableContainer with isPanel prop. Use when tables need to stand alongside cards without being wrapped in one.
Panel Tables
Basic Panel Table (no header)
Product
SKU
Price
Stock
Wireless Keyboard
WK-2024
$79.99
45
USB-C Hub
HUB-7P
$49.99
120
Monitor Stand
MS-ADJ
$129.99
28
Panel Table with Header
Use the title and headerActions props to add a header.
Recent Orders
Order ID
Customer
Date
Total
Status
#ORD-1001
Alice Johnson
2024-01-28
$234.50
Shipped
#ORD-1002
Bob Williams
2024-01-27
$89.00
Processing
#ORD-1003
Carol Davis
2024-01-27
$567.25
Delivered
#ORD-1004
David Miller
2024-01-26
$145.00
Cancelled
Panel Tables in Grid (75/25 split)
Panel tables work inside grid layout just like cards.
Activity Log (75%)
Time
User
Action
10:45 AM
admin
Updated product pricing
10:32 AM
john.doe
Created new order #1005
10:15 AM
admin
Approved refund request
Stats (25%)
Metric
Value
Orders
156
Revenue
$12.4k
Refunds
3
Table Cards
The TableCard component is a card specifically designed for tables. It includes header, body (for the table), footer, and color variants like regular cards.
Basic Table Card with Header Actions
Recent Orders
Order ID
Customer
Date
Amount
Status
#1001
John Smith
2024-01-28
$250.00
Completed
#1002
Jane Doe
2024-01-27
$180.00
Pending
#1003
Bob Wilson
2024-01-26
$320.00
Completed
Color Variants
Table cards support the same color variants as regular cards: variant="primary", variant="success", variant="warning", variant="danger", and theme colors color={1-9}.
Primary Table Card
User
Role
Status
Alice
Admin
Active
Bob
Editor
Active
Success Table Card
Task
Completed
Database backup
10:00 AM
Cache cleared
10:15 AM
Warning Table Card
Alert
Time
High CPU usage
2 min ago
Low disk space
5 min ago
Danger Table Card
Error
Count
Connection timeout
23
Auth failure
7
Plain Table Cards
Use isPlain prop to remove the card visual styling (border, shadow, background) while keeping grid behavior. Tables work side by side with proper gaps.
Sales by Region
Region
Q1
Q2
Q3
North
$45,000
$52,000
$48,000
South
$38,000
$41,000
$44,000
East
$62,000
$58,000
$65,000
Top Products
Product
Units
Revenue
Widget Pro
1,245
$124,500
Gadget Plus
892
$89,200
Tool Master
567
$56,700
Bordered Tables
Use the isBordered prop to add full cell borders on all sides.
Bordered Table
Item
Quantity
Price
Total
Widget A
10
$25.00
$250.00
Widget B
5
$45.00
$225.00
Widget C
8
$30.00
$240.00
Bordered + Striped
Department
Employees
Budget
Engineering
45
$2.5M
Marketing
22
$1.2M
Sales
38
$1.8M
HR
12
$0.6M
Plain Table with Pagers
Showing 1-10 of 156
ID
Customer
Order Date
Status
Total
#1001
John Smith
2026-01-15
Completed
$245.00
#1002
Jane Doe
2026-01-16
Pending
$189.50
#1003
Bob Wilson
2026-01-17
Completed
$312.75
#1004
Alice Brown
2026-01-18
Cancelled
$78.00
#1005
Charlie Davis
2026-01-19
Completed
$456.25
Real-World Example: Order Detail Layout
Cards and panel tables side by side - all with consistent visual treatment.
Customer Information
NameJohn Smith
Emailjohn.smith@example.com
Phone+1 (555) 123-4567
Customer SinceMarch 2021
Delivery Details
Address123 Main Street, Apt 4B
CityNew York, NY 10001
Delivery MethodExpress Shipping
Est. DeliveryJan 30, 2024
Order Items
Product
SKU
Qty
Unit Price
Total
Wireless Bluetooth Headphones
WBH-PRO-BK
1
$149.99
$149.99
USB-C Charging Cable (2m)
USB-C-2M
2
$19.99
$39.98
Carrying Case
CASE-HP-01
1
$29.99
$29.99
Subtotal
$219.96
Shipping
$12.99
Tax
$18.70
Total
$251.65
Scrollable Tables
Use the isScrollable prop on TableCard to enable horizontal scrolling for wide tables.
Wide Data Table
ID
First Name
Last Name
Email
Phone
Address
City
State
Country
Postal Code
Created
Updated
Status
1
John
Doe
john.doe@example.com
+1-555-0101
123 Main Street
New York
NY
USA
10001
2024-01-01
2024-01-15
Active
2
Jane
Smith
jane.smith@example.com
+1-555-0102
456 Oak Avenue
Los Angeles
CA
USA
90001
2024-01-02
2024-01-14
Active
3
Bob
Johnson
bob.johnson@example.com
+1-555-0103
789 Pine Road
Chicago
IL
USA
60601
2024-01-03
2024-01-13
Pending
Theme Color Variants
Use the color prop with values 1-9 for theme-based colors.
Color 1
Item
Value
Example
123
Color 2
Item
Value
Example
456
Color 3
Item
Value
Example
789
Color 4
Item
Value
Example
101
Color 5
Item
Value
Example
202
Color 6
Item
Value
Example
303
CSS Classes Reference
Tables
pa-table-container - Scrollable table wrapper with border
pa-table-container--panel - Card-like containment with shadow and margin
pa-table-container__header - Header row for panel tables
pa-table-container__title - Title text in header
pa-table-container__actions - Actions container in header
pa-table - Base table class
pa-table--striped - Zebra striping on rows
pa-table--bordered - Full cell borders on all sides
pa-table--xs - Extra small padding
pa-table--sm - Small padding
pa-table--lg - Large padding
pa-table--xl - Extra large padding
pa-table--responsive - Stacks into cards on mobile
pa-table--responsive-grid - CSS grid layout on mobile
.col-auto - Auto-width column (shrinks to content)