The <mat-paginator> adds a pagination UI that can be used in conjunction with the <mat-table>. The paginator emits events that can be used to trigger an update via the table's data source.
In the following example we demonstrate how to create a table with pagination using a remote data source.