Turns a page and a page count into the list of pages and ellipses to render, keeping its length steady as the page moves.
npx shadcn@latest add @hextaui/use-pagination
use-pagination