table Component

Table System

Basic Table

Preview Code
Copy
Name Position Office Age Salary
John Doe Software Engineer San Francisco 28 $120,000
Jane Smith Product Manager New York 32 $145,000
Mike Johnson UX Designer Los Angeles 26 $95,000
Sarah Williams Data Analyst Chicago 29 $85,000

Sortable Table

Preview Code
Copy
Product Category Price Stock Status
MacBook Pro Laptops $2,499 12 Available
iPhone 15 Phones $999 45 Available
iPad Air Tablets $599 0 Out of Stock
AirPods Pro Accessories $249 8 Low Stock

Selectable Table with Actions

Preview Code
Copy
User Email Role Status Actions
Alice Johnson alice@example.com Admin Active
Bob Smith bob@example.com Editor Active
Charlie Brown charlie@example.com Viewer Inactive

Rich Cell Types

Preview Code
Copy
Feature Progress Rating Toggle Status
Dashboard Redesign
75%
In Progress
API Integration
100%
Complete
Mobile App
30%
Pending

Table Size Variants

Preview Code
Copy

Tiny

Name Role Status
John Doe Admin Active
Jane Smith User Active

Small

Name Role Status
John Doe Admin Active
Jane Smith User Active

Default

Name Role Status
John Doe Admin Active
Jane Smith User Active

Large

Name Role Status
John Doe Admin Active
Jane Smith User Active

Big

Name Role Status
John Doe Admin Active
Jane Smith User Active

Table Style Variants

Preview Code
Copy

Bordered

Product Price Quantity
Widget A $19.99 100
Widget B $29.99 50

Striped

Product Price Quantity
Widget A $19.99 100
Widget B $29.99 50
Widget C $39.99 25
Widget D $49.99 10

Compact

Product Price Quantity
Widget A $19.99 100
Widget B $29.99 50

Spacious

Product Price Quantity
Widget A $19.99 100
Widget B $29.99 50

Table with Pagination

Preview Code
Copy
Order ID Customer Date Total Status
#001234 Alice Johnson 2024-01-15 $250.00 Delivered
#001235 Bob Smith 2024-01-16 $125.50 Shipped
#001236 Charlie Brown 2024-01-17 $450.00 Processing
#001237 Diana Prince 2024-01-18 $75.25 Delivered
#001238 Edward Norton 2024-01-19 $320.00 Cancelled
Showing 1 to 5 of 25 entries

Color Variants

Preview Code
Copy

Primary

Feature Status
Feature A Active
Feature B Pending

Positive

Test Result
Unit Tests Passed
Integration Tests Passed

Warning

Resource Usage
CPU 85%
Memory 78%

Empty State

Preview Code
Copy
Name Email Role Status
No data available
There are no records to display at this time.

Responsive Table

Preview Code
Copy

This table stacks on mobile devices. Resize your browser to see the effect.

Product Category Price Stock
MacBook Pro Laptops $2,499 12
iPhone 15 Phones $999 45
iPad Air Tablets $599 0