Pagination - provide pagination links for your site or app with the multi-page pagination component, or the simpler pager alternative.
Pager - quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.
On small screens bootstrap4 pagination can be cropped
Limit the maximum visible buttons