Material React Table
A powerful data table component built with Material UI and TanStack Table, featuring advanced sorting, filtering, pagination, and customization options
Material React Table Demo
ID | Name | Email | Role | Status | Last Login | Actions | ||
|---|---|---|---|---|---|---|---|---|
| 1 | John Doe | john.doe@example.com | Developer | Active | 2025-09-15 | |||
| 2 | Jane Smith | jane.smith@example.com | Designer | Active | 2025-09-14 | |||
| 3 | Michael Johnson | michael.johnson@example.com | Manager | Inactive | 2025-09-10 | |||
| 4 | Emily Davis | emily.davis@example.com | Developer | Active | 2025-09-16 | |||
| 5 | David Wilson | david.wilson@example.com | Designer | Active | 2025-09-13 |
5
Key Features & Benefits
📊
Sortable Columns
Click column headers to sort data ascending or descending
🔍
Search & Filter
Real-time search and advanced filtering capabilities
📄
Pagination
Efficient handling of large datasets with pagination controls
📱
Responsive Design
Adapts seamlessly to different screen sizes and devices
♿
Accessibility
Full keyboard navigation and screen reader support
🎨
Customizable
Flexible styling and theming options
How to Use
Quick Start
- Import the DataTable component into your Astro page
- Define your data structure and column configuration
- Add sorting, filtering, and pagination as needed
- Customize the styling to match your design system
Features
- Column Sorting: Click headers to sort data
- Search: Real-time filtering across all columns
- Pagination: Navigate through large datasets
- Responsive: Mobile-friendly table layout
- Keyboard Navigation: Full accessibility support