Welcome to the Notice System Demo
This banner notice is visible across all pages. Try navigating to different routes to see how notices follow you.
Data Table Basic
A simple DataTable with built-in sorting and pagination. Click column headers to sort, use pagination controls to navigate.
Users
87 total users
Active Inactive Pending
| User 1 | user1@example.com | Admin | Active | Engineering | 1/1/2020 |
| User 2 | user2@example.com | Editor | Inactive | Marketing | 2/2/2020 |
| User 3 | user3@example.com | Viewer | Pending | Sales | 3/3/2020 |
| User 4 | user4@example.com | Manager | Active | Support | 4/4/2020 |
| User 5 | user5@example.com | Admin | Inactive | HR | 5/5/2020 |
| User 6 | user6@example.com | Editor | Pending | Engineering | 6/6/2020 |
| User 7 | user7@example.com | Viewer | Active | Marketing | 7/7/2020 |
| User 8 | user8@example.com | Manager | Inactive | Sales | 8/8/2020 |
| User 9 | user9@example.com | Admin | Pending | Support | 9/9/2020 |
| User 10 | user10@example.com | Editor | Active | HR | 10/10/2020 |
87 row(s) total
Page 1 of 9
Usage
<DataTable
data={users}
columns={columns}
enablePagination
pageSize={10}
onRowClick={handleRowClick}
getRowId={(row) => String(row.id)}
/> - Built-in client-side sorting by clicking column headers
- Automatic pagination with configurable page size
- Row click handler for interaction
- Accessible with proper ARIA attributes
- For advanced features (filtering, selection, virtualization), see the Advanced DataTable example